From: Brian Paul Date: Mon, 5 Jun 2000 14:33:06 +0000 (+0000) Subject: added ASSERT_OUTSIDE_BEGIN_END_AND_FLUSH() in _mesa_Fogfv() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bf996dace40a8ac271cde103cd58c6ed720e3920;p=mesa.git added ASSERT_OUTSIDE_BEGIN_END_AND_FLUSH() in _mesa_Fogfv() --- 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;