Fix error in recent commit

Introduced in rBcada56b1f72f537f9ab007cfafd430ac10c292fb
This commit is contained in:
Germano Cavalcante 2020-12-11 17:54:12 -03:00
parent 0dbbcaf1e6
commit ba83ad226d
1 changed files with 2 additions and 2 deletions

View File

@ -638,7 +638,7 @@ static PyObject *py_shader_from_builtin(PyObject *UNUSED(self), PyObject *arg)
{
BPYGPU_IS_INIT_OR_ERROR_OBJ;
struct PyC_StringEnum pygpu_bultinshader = {&pygpu_bultinshader_items};
struct PyC_StringEnum pygpu_bultinshader = {pygpu_bultinshader_items};
if (!PyC_ParseStringEnum(arg, &pygpu_bultinshader)) {
return NULL;
}
@ -673,7 +673,7 @@ static PyObject *py_shader_code_from_builtin(BPyGPUShader *UNUSED(self), PyObjec
PyObject *item, *r_dict;
struct PyC_StringEnum pygpu_bultinshader = {&pygpu_bultinshader_items};
struct PyC_StringEnum pygpu_bultinshader = {pygpu_bultinshader_items};
if (!PyC_ParseStringEnum(arg, &pygpu_bultinshader)) {
return NULL;
}