From f30e31276304696558abffdd9a6e3df21d41c0f5 Mon Sep 17 00:00:00 2001 From: Brian Date: Tue, 27 Feb 2007 11:09:28 -0700 Subject: [PATCH] assert that fb->RefCount==0 in _mesa_free_framebuffer_data() --- src/mesa/main/framebuffer.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mesa/main/framebuffer.c b/src/mesa/main/framebuffer.c index d061d22..3fe70f4 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); -- 2.7.4