addTexture -> add_texture
This commit is contained in:
parent
de7ec424c7
commit
94962c15d2
|
|
@ -76,7 +76,7 @@ TextureCollection(PyObject *self, PyObject *sequence) {
|
|||
if (item == NULL) {
|
||||
return;
|
||||
}
|
||||
PyObject *result = PyObject_CallMethod(self, (char *)"addTexture", (char *)"O", item);
|
||||
PyObject *result = PyObject_CallMethod(self, (char *)"add_texture", (char *)"O", item);
|
||||
Py_DECREF(item);
|
||||
if (result == NULL) {
|
||||
// Unable to add item--probably it wasn't of the appropriate type.
|
||||
|
|
|
|||
Loading…
Reference in New Issue