Cleanup: remove redundant 'char *' casts
This commit is contained in:
@@ -303,17 +303,13 @@ static void BPyGPUOffScreen__tp_dealloc(BPyGPUOffScreen *self)
|
||||
}
|
||||
|
||||
static PyGetSetDef bpygpu_offscreen_getseters[] = {
|
||||
{(char *)"color_texture",
|
||||
{"color_texture",
|
||||
(getter)bpygpu_offscreen_color_texture_get,
|
||||
(setter)NULL,
|
||||
bpygpu_offscreen_color_texture_doc,
|
||||
NULL},
|
||||
{(char *)"width",
|
||||
(getter)bpygpu_offscreen_width_get,
|
||||
(setter)NULL,
|
||||
bpygpu_offscreen_width_doc,
|
||||
NULL},
|
||||
{(char *)"height",
|
||||
{"width", (getter)bpygpu_offscreen_width_get, (setter)NULL, bpygpu_offscreen_width_doc, NULL},
|
||||
{"height",
|
||||
(getter)bpygpu_offscreen_height_get,
|
||||
(setter)NULL,
|
||||
bpygpu_offscreen_height_doc,
|
||||
|
Reference in New Issue
Block a user