diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2020-09-01 11:07:39 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2020-09-01 13:03:52 +0300 |
commit | 991eb5f79c5381eb45df90e526f5332b4364b35c (patch) | |
tree | d39403820a15d537c500022c7430053cfed8153a /source/blender/gpu/opengl/gl_context.cc | |
parent | a6185e4fa547223b976500f967b099eb9b837ee8 (diff) |
Cleanup: GPUContext: Remove unused functions
Diffstat (limited to 'source/blender/gpu/opengl/gl_context.cc')
-rw-r--r-- | source/blender/gpu/opengl/gl_context.cc | 22 |
1 files changed, 0 insertions, 22 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 -} - /** \} */ |