diff options
author | Germano Cavalcante <germano.costa@ig.com.br> | 2020-12-11 23:54:12 +0300 |
---|---|---|
committer | Germano Cavalcante <germano.costa@ig.com.br> | 2020-12-11 23:54:27 +0300 |
commit | ba83ad226d8c3b3d1a87ebbb13aacf5cfc27edfc (patch) | |
tree | 615ee38196f7605830bf2cea3267409b542526a0 /source/blender/python | |
parent | 0dbbcaf1e6bb8e0296a3754df380badfd372908c (diff) |
Fix error in recent commit
Introduced in rBcada56b1f72f537f9ab007cfafd430ac10c292fb
Diffstat (limited to 'source/blender/python')
-rw-r--r-- | source/blender/python/gpu/gpu_py_shader.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/python/gpu/gpu_py_shader.c b/source/blender/python/gpu/gpu_py_shader.c index df864eea99f..526b96f8584 100644 --- a/source/blender/python/gpu/gpu_py_shader.c +++ b/source/blender/python/gpu/gpu_py_shader.c @@ -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; } |