assert that fb->RefCount==0 in _mesa_free_framebuffer_data()
This commit is contained in:
@@ -216,6 +216,7 @@ _mesa_free_framebuffer_data(struct gl_framebuffer *fb)
|
||||
GLuint i;
|
||||
|
||||
assert(fb);
|
||||
assert(fb->RefCount == 0);
|
||||
|
||||
_glthread_DESTROY_MUTEX(fb->Mutex);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user