Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/python/gpu/gpu_py_shader.h')
-rw-r--r--source/blender/python/gpu/gpu_py_shader.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/python/gpu/gpu_py_shader.h b/source/blender/python/gpu/gpu_py_shader.h
index 92873753039..4d59dbc8e37 100644
--- a/source/blender/python/gpu/gpu_py_shader.h
+++ b/source/blender/python/gpu/gpu_py_shader.h
@@ -26,7 +26,8 @@ extern PyTypeObject BPyGPUShader_Type;
#define BPyGPUShader_Check(v) (Py_TYPE(v) == &BPyGPUShader_Type)
typedef struct BPyGPUShader {
- PyObject_VAR_HEAD struct GPUShader *shader;
+ PyObject_VAR_HEAD;
+ struct GPUShader *shader;
bool is_builtin;
} BPyGPUShader;