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
path: root/source
diff options
context:
space:
mode:
Diffstat (limited to 'source')
-rw-r--r--source/blender/draw/intern/DRW_gpu_wrapper.hh5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/draw/intern/DRW_gpu_wrapper.hh b/source/blender/draw/intern/DRW_gpu_wrapper.hh
index 6aca05f124f..bf701dcf2cd 100644
--- a/source/blender/draw/intern/DRW_gpu_wrapper.hh
+++ b/source/blender/draw/intern/DRW_gpu_wrapper.hh
@@ -1029,6 +1029,11 @@ class Framebuffer : NonCopyable {
return fb_;
}
+ GPUFrameBuffer **operator&()
+ {
+ return &fb_;
+ }
+
/**
* Swap the content of the two framebuffer.
*/