projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e21096b
)
assert that fb->RefCount==0 in _mesa_free_framebuffer_data()
author
Brian
<brian@yutani.localnet.net>
Tue, 27 Feb 2007 18:09:28 +0000
(11:09 -0700)
committer
Brian
<brian@yutani.localnet.net>
Tue, 27 Feb 2007 18:09:28 +0000
(11:09 -0700)
src/mesa/main/framebuffer.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/framebuffer.c
b/src/mesa/main/framebuffer.c
index d061d22d9b82e0679d88cb432ebfefaa68ba51a4..3fe70f449c286a655897dc859dfc9644b2f503db 100644
(file)
--- 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);