diff options
author | Brian Paul <[email protected]> | 2009-10-21 19:56:18 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-10-21 19:56:18 -0600 |
commit | 832f29770d91c7d98c9b8438922247fff8f0f8bd (patch) | |
tree | fa604efd5723feb460e80f272a1950970561c6c5 /src/mesa/main/depthstencil.c | |
parent | e4c700dbbf2a802f32bf62256c801105998c3729 (diff) |
mesa: use MESA_FORMAT_X8_Z24 format
Diffstat (limited to 'src/mesa/main/depthstencil.c')
-rw-r--r-- | src/mesa/main/depthstencil.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/depthstencil.c b/src/mesa/main/depthstencil.c index 803dc6c75e1..6fefdac1e31 100644 --- a/src/mesa/main/depthstencil.c +++ b/src/mesa/main/depthstencil.c @@ -366,7 +366,7 @@ _mesa_new_z24_renderbuffer_wrapper(GLcontext *ctx, z24rb->Width = dsrb->Width; z24rb->Height = dsrb->Height; z24rb->InternalFormat = GL_DEPTH_COMPONENT24; - z24rb->Format = MESA_FORMAT_Z24_S8; + z24rb->Format = MESA_FORMAT_X8_Z24; z24rb->_BaseFormat = GL_DEPTH_COMPONENT; z24rb->DataType = GL_UNSIGNED_INT; z24rb->Data = NULL; |