diff options
Diffstat (limited to 'libtess/render.c')
-rw-r--r-- | libtess/render.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libtess/render.c b/libtess/render.c index 7434b03..89b442e 100644 --- a/libtess/render.c +++ b/libtess/render.c @@ -486,9 +486,9 @@ GLboolean __gl_renderCache( GLUtesselator *tess ) return TRUE; } - CALL_BEGIN_OR_BEGIN_DATA( tess->boundaryOnly ? GL_LINE_LOOP - : (tess->cacheCount > 3) ? GL_TRIANGLE_FAN - : GL_TRIANGLES ); + CALL_BEGIN_OR_BEGIN_DATA((unsigned int) (tess->boundaryOnly ? GL_LINE_LOOP + : (tess->cacheCount > 3) ? GL_TRIANGLE_FAN + : GL_TRIANGLES) ); CALL_VERTEX_OR_VERTEX_DATA( v0->data ); if( sign > 0 ) { |