diff options
author | Brian Paul <[email protected]> | 2011-11-11 07:30:18 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2011-11-15 07:49:25 -0700 |
commit | 6d68855df133bdd4891e8aa428787b520739e0fe (patch) | |
tree | 4d242ff9bbbc094774792440ae25cff47346568f /src/mesa/main/pixeltransfer.c | |
parent | cc502aa9419a6fb127b264dbb131c786281cb8c7 (diff) |
mesa: replace GLstencil with GLubyte
Diffstat (limited to 'src/mesa/main/pixeltransfer.c')
-rw-r--r-- | src/mesa/main/pixeltransfer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/pixeltransfer.c b/src/mesa/main/pixeltransfer.c index 5e881436afd..5c167e0a90a 100644 --- a/src/mesa/main/pixeltransfer.c +++ b/src/mesa/main/pixeltransfer.c @@ -273,7 +273,7 @@ _mesa_apply_ci_transfer_ops(const struct gl_context *ctx, */ void _mesa_apply_stencil_transfer_ops(const struct gl_context *ctx, GLuint n, - GLstencil stencil[]) + GLubyte stencil[]) { if (ctx->Pixel.IndexShift != 0 || ctx->Pixel.IndexOffset != 0) { const GLint offset = ctx->Pixel.IndexOffset; @@ -300,7 +300,7 @@ _mesa_apply_stencil_transfer_ops(const struct gl_context *ctx, GLuint n, GLuint mask = ctx->PixelMaps.StoS.Size - 1; GLuint i; for (i = 0; i < n; i++) { - stencil[i] = (GLstencil)ctx->PixelMaps.StoS.Map[ stencil[i] & mask ]; + stencil[i] = (GLubyte) ctx->PixelMaps.StoS.Map[ stencil[i] & mask ]; } } } |