Skip to content
Snippets Groups Projects
Commit bc060ca2 authored by Stephen Swaney's avatar Stephen Swaney
Browse files

remove 6 trillion warnings about missing initializers.

parent 46527011
No related branches found
No related tags found
No related merge requests found
......@@ -669,7 +669,7 @@ BGL_Wrap(4, Viewport, void, (GLint, GLint, GLsizei, GLsizei))
/* #endif */
#undef MethodDef
#define MethodDef(func) {"gl"#func, Method_##func, METH_VARARGS}
#define MethodDef(func) {"gl"#func, Method_##func, METH_VARARGS, "no string"}
/* So that MethodDef(Accum) becomes:
* {"glAccum", Method_Accumfunc, METH_VARARGS} */
......@@ -995,7 +995,7 @@ static struct PyMethodDef BGL_methods[] = {
/* #endif */
{NULL, NULL}
{NULL, NULL, 0, NULL}
};
PyObject *BGL_Init(void)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment