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/gpu/intern/gpu_framebuffer_private.hh')
-rw-r--r--source/blender/gpu/intern/gpu_framebuffer_private.hh5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/gpu/intern/gpu_framebuffer_private.hh b/source/blender/gpu/intern/gpu_framebuffer_private.hh
index 6e4be6de42a..d6a30677840 100644
--- a/source/blender/gpu/intern/gpu_framebuffer_private.hh
+++ b/source/blender/gpu/intern/gpu_framebuffer_private.hh
@@ -110,6 +110,11 @@ class FrameBuffer {
#endif
public:
+ /* Reference of a pointer that needs to be cleaned when deallocating the frame-buffer.
+ * Points to BPyGPUFrameBuffer::fb */
+ void **ref = nullptr;
+
+ public:
FrameBuffer(const char *name);
virtual ~FrameBuffer();