diff options
author | Brian Paul <[email protected]> | 2008-06-17 16:44:04 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2008-06-17 16:44:04 -0600 |
commit | 30640695400b9b27656893753ae6b62f2082ce9b (patch) | |
tree | b3afcef4d65a54bb30f4cb07e3ed638c0be5937c /src/mesa/main/image.c | |
parent | 5b5bf2187497e8de53ca20db6c4fd4a211714b98 (diff) |
mesa: fix inconsistent use of GL_UNSIGNED_INT vs. GL_UNSIGNED_INT_24_8_EXT for Z unpacking
Diffstat (limited to 'src/mesa/main/image.c')
-rw-r--r-- | src/mesa/main/image.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/image.c b/src/mesa/main/image.c index 347cec66ef4..8034daecae2 100644 --- a/src/mesa/main/image.c +++ b/src/mesa/main/image.c @@ -3963,7 +3963,7 @@ _mesa_unpack_depth_span( const GLcontext *ctx, GLuint n, DEPTH_VALUES(GLuint, UINT_TO_FLOAT); break; case GL_UNSIGNED_INT_24_8_EXT: /* GL_EXT_packed_depth_stencil */ - if (dstType == GL_UNSIGNED_INT && + if (dstType == GL_UNSIGNED_INT_24_8_EXT && depthMax == 0xffffff && ctx->Pixel.DepthScale == 1.0 && ctx->Pixel.DepthBias == 0.0) { |