minor rename

This commit is contained in:
Brian 2007-07-13 09:23:41 -06:00
parent aa0f415c8d
commit 676fcf0de2
2 changed files with 2 additions and 2 deletions

View 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;

View file

@ -143,7 +143,7 @@
#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 */