minor rename
authorBrian <brian.paul@tungstengraphics.com>
Fri, 13 Jul 2007 15:23:41 +0000 (09:23 -0600)
committerBrian <brian.paul@tungstengraphics.com>
Fri, 13 Jul 2007 15:23:41 +0000 (09:23 -0600)
src/mesa/drivers/x11/xm_surface.c
src/mesa/pipe/p_defines.h

index 8ae5c248f43ea61e416ef69fb328bd4756a44e48..58081a36a0368fa7c2889c3dad4f863faa4d0d7e 100644 (file)
@@ -330,7 +330,7 @@ create_stencil_surface(XMesaContext xmctx, struct gl_renderbuffer *rb)
 
    xmsurf = CALLOC_STRUCT(xmesa_surface);
    if (xmsurf) {
-      xmsurf->sps.surface.format = PIPE_FORMAT_S8;
+      xmsurf->sps.surface.format = PIPE_FORMAT_U_S8;
       xmsurf->sps.surface.width = rb->Width;
       xmsurf->sps.surface.height = rb->Height;
       xmsurf->sps.read_quad_stencil = read_quad_stencil;
index 821521ac752dd75a25264a6471bc958057433472..1b799f14516f6ba44b1cb7bd672858493ed4df5b 100644 (file)
 #define PIPE_FORMAT_F_Z32           8  /**< float Z/depth */
 #define PIPE_FORMAT_YCBCR           9
 #define PIPE_FORMAT_YCBCR_REV      10
-#define PIPE_FORMAT_S8             11  /**< 8-bit stencil */
+#define PIPE_FORMAT_U_S8           11  /**< 8-bit stencil */
 #define PIPE_FORMAT_Z24_S8         12  /**< 24-bit Z + 8-bit stencil */