aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/mesa/main/depthstencil.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2011-07-12 08:04:42 +0200
committermarha <marha@users.sourceforge.net>2011-07-12 08:04:42 +0200
commit3b47b2c35227184c0eb6dcf6dee8b79c4f9d4474 (patch)
treeba0e8f45ac50ead3283424f8794c7cbd38380805 /mesalib/src/mesa/main/depthstencil.c
parent0b43e0b4ddbd9fdac70658164f3dbf653067a4de (diff)
downloadvcxsrv-3b47b2c35227184c0eb6dcf6dee8b79c4f9d4474.tar.gz
vcxsrv-3b47b2c35227184c0eb6dcf6dee8b79c4f9d4474.tar.bz2
vcxsrv-3b47b2c35227184c0eb6dcf6dee8b79c4f9d4474.zip
mesa git update 12 July 2011
Diffstat (limited to 'mesalib/src/mesa/main/depthstencil.c')
-rw-r--r--mesalib/src/mesa/main/depthstencil.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mesalib/src/mesa/main/depthstencil.c b/mesalib/src/mesa/main/depthstencil.c
index 4d0600050..40d6c9612 100644
--- a/mesalib/src/mesa/main/depthstencil.c
+++ b/mesalib/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);
}