diff options
author | Brian Paul <[email protected]> | 2002-04-19 00:38:27 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2002-04-19 00:38:27 +0000 |
commit | a670c1280b78e6da3b298b61f623e4c733c6be94 (patch) | |
tree | 803a29169de7fe25f7e193dfe6a2de85128c4591 /src/mesa/swrast/s_context.c | |
parent | db07de057f10ab7ab5be84352b674b200a0a9e22 (diff) |
casts to fix GLint/GLuint mismatches
Diffstat (limited to 'src/mesa/swrast/s_context.c')
-rw-r--r-- | src/mesa/swrast/s_context.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/swrast/s_context.c b/src/mesa/swrast/s_context.c index e10f8a3bb3d..fa91f15a8ff 100644 --- a/src/mesa/swrast/s_context.c +++ b/src/mesa/swrast/s_context.c @@ -1,4 +1,4 @@ -/* $Id: s_context.c,v 1.29 2002/02/02 21:40:33 brianp Exp $ */ +/* $Id: s_context.c,v 1.30 2002/04/19 00:38:27 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -75,9 +75,9 @@ _swrast_update_rasterflags( GLcontext *ctx ) RasterMask |= ALPHABUF_BIT; if ( ctx->Viewport.X < 0 - || ctx->Viewport.X + ctx->Viewport.Width > ctx->DrawBuffer->Width + || ctx->Viewport.X + ctx->Viewport.Width > (GLint) ctx->DrawBuffer->Width || ctx->Viewport.Y < 0 - || ctx->Viewport.Y + ctx->Viewport.Height > ctx->DrawBuffer->Height) { + || ctx->Viewport.Y + ctx->Viewport.Height > (GLint) ctx->DrawBuffer->Height) { RasterMask |= CLIP_BIT; } |