From 14f8b8b5c3316117651eef2c705da37e3047d472 Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Mon, 20 Sep 1999 14:30:22 +0000 Subject: Bugfix for ctx->backface_sign calculation --- src/mesa/main/polygon.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/mesa/main/polygon.c') diff --git a/src/mesa/main/polygon.c b/src/mesa/main/polygon.c index 09399da8ea..00876febf2 100644 --- a/src/mesa/main/polygon.c +++ b/src/mesa/main/polygon.c @@ -1,4 +1,4 @@ -/* $Id: polygon.c,v 1.2 1999/08/26 14:50:49 keithw Exp $ */ +/* $Id: polygon.c,v 1.3 1999/09/20 14:30:22 keithw Exp $ */ /* * Mesa 3-D graphics library @@ -77,8 +77,10 @@ void gl_FrontFace( GLcontext *ctx, GLenum mode ) gl_error( ctx, GL_INVALID_ENUM, "glFrontFace" ); return; } + ctx->Polygon.FrontFace = mode; ctx->Polygon.FrontBit = (mode == GL_CW); + ctx->NewState |= NEW_POLYGON; if (ctx->Driver.FrontFace) ctx->Driver.FrontFace( ctx, mode ); -- cgit v1.2.3