diff options
Diffstat (limited to 'source/blender/python/gpu/gpu_py_offscreen.h')
-rw-r--r-- | source/blender/python/gpu/gpu_py_offscreen.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/python/gpu/gpu_py_offscreen.h b/source/blender/python/gpu/gpu_py_offscreen.h index 309735a6202..78bad595a3d 100644 --- a/source/blender/python/gpu/gpu_py_offscreen.h +++ b/source/blender/python/gpu/gpu_py_offscreen.h @@ -26,9 +26,13 @@ extern PyTypeObject BPyGPUOffScreen_Type; #define BPyGPUOffScreen_Check(v) (Py_TYPE(v) == &BPyGPUOffScreen_Type) +struct GPUOffscreen; +struct GPUViewport; + typedef struct BPyGPUOffScreen { PyObject_HEAD struct GPUOffScreen *ofs; + struct GPUViewport *viewport; } BPyGPUOffScreen; PyObject *BPyGPUOffScreen_CreatePyObject(struct GPUOffScreen *ofs) ATTR_NONNULL(1); |