diff options
Diffstat (limited to 'src/mesa/main/fog.c')
-rw-r--r-- | src/mesa/main/fog.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mesa/main/fog.c b/src/mesa/main/fog.c index 998c9bdac56..a16ede32372 100644 --- a/src/mesa/main/fog.c +++ b/src/mesa/main/fog.c @@ -1,4 +1,4 @@ -/* $Id: fog.c,v 1.8 2000/03/07 17:40:34 brianp Exp $ */ +/* $Id: fog.c,v 1.9 2000/06/05 14:33:06 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -86,6 +86,8 @@ _mesa_Fogfv( GLenum pname, const GLfloat *params ) GET_CURRENT_CONTEXT(ctx); GLenum m; + ASSERT_OUTSIDE_BEGIN_END_AND_FLUSH(ctx, "glFog"); + switch (pname) { case GL_FOG_MODE: m = (GLenum) (GLint) *params; |