projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ceb04b3
)
mesa: fix assertion failure in delete_wrapper
author
Marek Olšák
<maraeo@gmail.com>
Mon, 11 Jul 2011 13:26:51 +0000
(15:26 +0200)
committer
Marek Olšák
<maraeo@gmail.com>
Mon, 11 Jul 2011 13:32:34 +0000
(15:32 +0200)
src/mesa/main/depthstencil.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/depthstencil.c
b/src/mesa/main/depthstencil.c
index 4d0600050ffecafd48ad78be8379f6b26b837676..40d6c9612a2d4213af1b53783d96290200d5c5a3 100644
(file)
--- a/
src/mesa/main/depthstencil.c
+++ b/
src/mesa/main/depthstencil.c
@@
-63,7
+63,8
@@
static void
delete_wrapper(struct gl_renderbuffer *rb)
{
ASSERT(rb->Format == MESA_FORMAT_S8 ||
- rb->Format == MESA_FORMAT_X8_Z24);
+ rb->Format == MESA_FORMAT_X8_Z24 ||
+ rb->Format == MESA_FORMAT_Z32_FLOAT);
_mesa_reference_renderbuffer(&rb->Wrapped, NULL);
free(rb);
}