diff options
author | Brian <[email protected]> | 2007-08-01 13:04:58 -0600 |
---|---|---|
committer | Brian <[email protected]> | 2007-08-01 13:04:58 -0600 |
commit | 5fd46065915d3958569ebb590104b69886352157 (patch) | |
tree | 1bd791b1e97049458b9f6b267fad8cfa81471f73 /src/mesa/main | |
parent | fb206809ba2a131fd9034e10a00592f2d0d81fce (diff) |
s/Z24_S8/S8_Z24/ (stencil is in the high byte)
Diffstat (limited to 'src/mesa/main')
-rw-r--r-- | src/mesa/main/renderbuffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/renderbuffer.c b/src/mesa/main/renderbuffer.c index 9509df31593..d89704196af 100644 --- a/src/mesa/main/renderbuffer.c +++ b/src/mesa/main/renderbuffer.c @@ -1147,7 +1147,7 @@ _mesa_soft_renderbuffer_storage(GLcontext *ctx, struct gl_renderbuffer *rb, rb->StencilBits = 8; if (!rb->surface) rb->surface = (struct pipe_surface *) - pipe->surface_alloc(pipe, PIPE_FORMAT_Z24_S8); + pipe->surface_alloc(pipe, PIPE_FORMAT_S8_Z24); pixelSize = sizeof(GLuint); break; case GL_COLOR_INDEX8_EXT: |