diff options
Diffstat (limited to 'source/blender/python/gpu/gpu_py_vertex_format.h')
-rw-r--r-- | source/blender/python/gpu/gpu_py_vertex_format.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/source/blender/python/gpu/gpu_py_vertex_format.h b/source/blender/python/gpu/gpu_py_vertex_format.h index ba09c055aca..8ef466aa918 100644 --- a/source/blender/python/gpu/gpu_py_vertex_format.h +++ b/source/blender/python/gpu/gpu_py_vertex_format.h @@ -25,11 +25,10 @@ extern PyTypeObject BPyGPUVertFormat_Type; -#define BPyGPUVertFormat_Check(v) (Py_TYPE(v) == &BPyGPUVertFormat_Type) +#define BPyGPUVertFormat_Check(v) (Py_TYPE(v) == &BPyGPUVertFormat_Type) typedef struct BPyGPUVertFormat { - PyObject_VAR_HEAD - struct GPUVertFormat fmt; + PyObject_VAR_HEAD struct GPUVertFormat fmt; } BPyGPUVertFormat; PyObject *BPyGPUVertFormat_CreatePyObject(struct GPUVertFormat *fmt); |