diff options
author | Brian Paul <[email protected]> | 1999-11-05 06:43:10 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 1999-11-05 06:43:10 +0000 |
commit | 5b37c322741f019118a618bc6220f37adba4fbcd (patch) | |
tree | f3279be5226458b598e35fabbe98faf0d4ba8c36 /src/mesa/main/varray.c | |
parent | 30990a65f8e1fd67d394f0b4a73956975a65a215 (diff) |
clean-up to reduce MSVC warnings
Diffstat (limited to 'src/mesa/main/varray.c')
-rw-r--r-- | src/mesa/main/varray.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/main/varray.c b/src/mesa/main/varray.c index 29eb392de8b..02aca61e4f1 100644 --- a/src/mesa/main/varray.c +++ b/src/mesa/main/varray.c @@ -1,4 +1,4 @@ -/* $Id: varray.c,v 1.6 1999/11/04 19:42:28 keithw Exp $ */ +/* $Id: varray.c,v 1.7 1999/11/05 06:43:11 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -505,7 +505,7 @@ void gl_DrawArrays( GLcontext *ctx, GLenum mode, GLint start, GLsizei count ) struct immediate *IM = VB->IM; struct gl_client_array *client_data; struct gl_pipeline *elt = &ctx->CVA.elt; - GLuint relock; + GLboolean relock; GLuint fallback, required; if (ctx->NewState) @@ -1226,7 +1226,7 @@ void GLAPIENTRY glDrawRangeElements(CTX_ARG GLenum mode, GLuint start, return; } - if (!ctx->Array.LockCount && 2*count > 3*(end-start)) { + if (!ctx->Array.LockCount && 2*count > (GLint) 3*(end-start)) { glLockArraysEXT(CTX_PRM start, end ); glDrawElements(CTX_PRM mode, count, type, indices ); glUnlockArraysEXT(CTX_VPRM ); |