summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2000-06-05 14:33:06 +0000
committerBrian Paul <[email protected]>2000-06-05 14:33:06 +0000
commitbf996dace40a8ac271cde103cd58c6ed720e3920 (patch)
tree4dddf8bf3083d6bf774f7f581e0c1763cbba2ac7
parent7d84f5dc5b667510ab9b7cb1366ef63c9563e2a2 (diff)
added ASSERT_OUTSIDE_BEGIN_END_AND_FLUSH() in _mesa_Fogfv()
-rw-r--r--src/mesa/main/fog.c4
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;