summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/framebuffer.c
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-02-27 11:09:28 -0700
committerBrian <[email protected]>2007-02-27 11:09:28 -0700
commitf30e31276304696558abffdd9a6e3df21d41c0f5 (patch)
tree5cfb7e6514fb01299cdd93b7bade0fddb93eb8a0 /src/mesa/main/framebuffer.c
parente21096b07c5854d01114b58f87d08709e370f8b7 (diff)
assert that fb->RefCount==0 in _mesa_free_framebuffer_data()
Diffstat (limited to 'src/mesa/main/framebuffer.c')
-rw-r--r--src/mesa/main/framebuffer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/main/framebuffer.c b/src/mesa/main/framebuffer.c
index d061d22d9b8..3fe70f449c2 100644
--- a/src/mesa/main/framebuffer.c
+++ b/src/mesa/main/framebuffer.c
@@ -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);