diff options
author | Brian <brian.paul@tungstengraphics.com> | 2007-07-13 09:23:41 -0600 |
---|---|---|
committer | Brian <brian.paul@tungstengraphics.com> | 2007-07-13 09:23:41 -0600 |
commit | 676fcf0de270651311a6b812e98f2e71d7dae925 (patch) | |
tree | 9b1f013c99c88e5640186f33f138b58b5771f280 /src | |
parent | aa0f415c8d5d79d0763fca49d91b1963bf0975f6 (diff) |
minor rename
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/x11/xm_surface.c | 2 | ||||
-rw-r--r-- | src/mesa/pipe/p_defines.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/x11/xm_surface.c b/src/mesa/drivers/x11/xm_surface.c index 8ae5c248f4..58081a36a0 100644 --- a/src/mesa/drivers/x11/xm_surface.c +++ b/src/mesa/drivers/x11/xm_surface.c @@ -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; diff --git a/src/mesa/pipe/p_defines.h b/src/mesa/pipe/p_defines.h index 821521ac75..1b799f1451 100644 --- a/src/mesa/pipe/p_defines.h +++ b/src/mesa/pipe/p_defines.h @@ -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 */ |