VideoTexture: Bug report #17946: add (char*) casting to fix compile error with Python get-set method and module object.
This commit is contained in:
@@ -412,8 +412,8 @@ static PyMethodDef textureMethods[] =
|
||||
// class Texture attributes
|
||||
static PyGetSetDef textureGetSets[] =
|
||||
{
|
||||
{"source", (getter)Texture_getSource, (setter)Texture_setSource, "source of texture", NULL},
|
||||
{"mipmap", (getter)Texture_getMipmap, (setter)Texture_setMipmap, "mipmap texture", NULL},
|
||||
{(char*)"source", (getter)Texture_getSource, (setter)Texture_setSource, (char*)"source of texture", NULL},
|
||||
{(char*)"mipmap", (getter)Texture_getMipmap, (setter)Texture_setMipmap, (char*)"mipmap texture", NULL},
|
||||
{NULL}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user