diff options
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/gpu/opengl/gl_context.cc | 22 | ||||
-rw-r--r-- | source/blender/gpu/opengl/gl_context.hh | 2 |
2 files changed, 0 insertions, 24 deletions
diff --git a/source/blender/gpu/opengl/gl_context.cc b/source/blender/gpu/opengl/gl_context.cc index a3b060abf0e..1495e665aa8 100644 --- a/source/blender/gpu/opengl/gl_context.cc +++ b/source/blender/gpu/opengl/gl_context.cc @@ -276,26 +276,4 @@ void GLContext::vao_cache_unregister(GLVaoCache *cache) lists_mutex_.unlock(); } -void GLContext::framebuffer_register(struct GPUFrameBuffer *fb) -{ -#ifdef DEBUG - lists_mutex_.lock(); - framebuffers_.add(fb); - lists_mutex_.unlock(); -#else - UNUSED_VARS(fb); -#endif -} - -void GLContext::framebuffer_unregister(struct GPUFrameBuffer *fb) -{ -#ifdef DEBUG - lists_mutex_.lock(); - framebuffers_.remove(fb); - lists_mutex_.unlock(); -#else - UNUSED_VARS(fb); -#endif -} - /** \} */ diff --git a/source/blender/gpu/opengl/gl_context.hh b/source/blender/gpu/opengl/gl_context.hh index fa1c6b9918e..bc7e2060804 100644 --- a/source/blender/gpu/opengl/gl_context.hh +++ b/source/blender/gpu/opengl/gl_context.hh @@ -92,8 +92,6 @@ class GLContext : public GPUContext { void fbo_free(GLuint fbo_id); void vao_cache_register(GLVaoCache *cache); void vao_cache_unregister(GLVaoCache *cache); - void framebuffer_register(struct GPUFrameBuffer *fb); - void framebuffer_unregister(struct GPUFrameBuffer *fb); }; } // namespace gpu |