Cleanup: GPUContext: Remove unused functions
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
/** \} */
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user