diff options
Diffstat (limited to 'source/blender/gpu/opengl/gl_framebuffer.hh')
-rw-r--r-- | source/blender/gpu/opengl/gl_framebuffer.hh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/gpu/opengl/gl_framebuffer.hh b/source/blender/gpu/opengl/gl_framebuffer.hh index 8173d3b2416..73423425500 100644 --- a/source/blender/gpu/opengl/gl_framebuffer.hh +++ b/source/blender/gpu/opengl/gl_framebuffer.hh @@ -39,6 +39,9 @@ class GLStateManager; * Implementation of FrameBuffer object using OpenGL. **/ class GLFrameBuffer : public FrameBuffer { + /* For debugging purpose. */ + friend class GLTexture; + private: /** OpenGL handle. */ GLuint fbo_id_ = 0; |