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/opengl/gl_context.cc')
-rw-r--r--source/blender/gpu/opengl/gl_context.cc22
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
-}
-
/** \} */