diff options
author | Marek Olšák <[email protected]> | 2011-07-11 15:26:51 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2011-07-11 15:32:34 +0200 |
commit | 6c53d75e7d41e7c586495e0486d46fbffaa77a5f (patch) | |
tree | 12ea2dcd441a8239b8f873d5df7ab07850461857 /src/mesa/main/depthstencil.c | |
parent | ceb04b32baf13bbd62cf80496e5751612287ef15 (diff) |
mesa: fix assertion failure in delete_wrapper
Diffstat (limited to 'src/mesa/main/depthstencil.c')
-rw-r--r-- | src/mesa/main/depthstencil.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/main/depthstencil.c b/src/mesa/main/depthstencil.c index 4d0600050ff..40d6c9612a2 100644 --- 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); } |