summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/polygon.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>1999-11-08 15:28:08 +0000
committerBrian Paul <[email protected]>1999-11-08 15:28:08 +0000
commit99f16d01dd508ccac9d37488bf83a7aed5c05832 (patch)
tree27f8875a375f92a39d82ac822a92894cdcc21db4 /src/mesa/main/polygon.c
parent19f90e35ff1419169a2d3522e55e4de05b7ab14c (diff)
changes to silence MSVC warnings
Diffstat (limited to 'src/mesa/main/polygon.c')
-rw-r--r--src/mesa/main/polygon.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/polygon.c b/src/mesa/main/polygon.c
index ca284c2fff2..eebbaa886fa 100644
--- a/src/mesa/main/polygon.c
+++ b/src/mesa/main/polygon.c
@@ -1,4 +1,4 @@
-/* $Id: polygon.c,v 1.5 1999/11/08 07:36:44 brianp Exp $ */
+/* $Id: polygon.c,v 1.6 1999/11/08 15:28:08 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -82,7 +82,7 @@ void gl_FrontFace( GLcontext *ctx, GLenum mode )
}
ctx->Polygon.FrontFace = mode;
- ctx->Polygon.FrontBit = (mode == GL_CW);
+ ctx->Polygon.FrontBit = (GLboolean) (mode == GL_CW);
ctx->NewState |= NEW_POLYGON;
if (ctx->Driver.FrontFace)