Cleanup: remove redundant struct qualifiers
This commit is contained in:
@@ -441,7 +441,7 @@ static PyGetSetDef pygpu_texture__tp_getseters[] = {
|
||||
{NULL, NULL, NULL, NULL, NULL} /* Sentinel */
|
||||
};
|
||||
|
||||
static struct PyMethodDef pygpu_texture__tp_methods[] = {
|
||||
static PyMethodDef pygpu_texture__tp_methods[] = {
|
||||
{"clear",
|
||||
(PyCFunction)pygpu_texture_clear,
|
||||
METH_VARARGS | METH_KEYWORDS,
|
||||
@@ -556,7 +556,7 @@ static PyObject *pygpu_texture_from_image(PyObject *UNUSED(self), PyObject *arg)
|
||||
return BPyGPUTexture_CreatePyObject(tex, true);
|
||||
}
|
||||
|
||||
static struct PyMethodDef pygpu_texture__m_methods[] = {
|
||||
static PyMethodDef pygpu_texture__m_methods[] = {
|
||||
{"from_image", (PyCFunction)pygpu_texture_from_image, METH_O, pygpu_texture_from_image_doc},
|
||||
{NULL, NULL, 0, NULL},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user