s/Z24_S8/S8_Z24/ (stencil is in the high byte)

This commit is contained in:
Brian
2007-08-01 13:04:58 -06:00
parent fb206809ba
commit 5fd4606591
5 changed files with 36 additions and 33 deletions

View File

@@ -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: