projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d84f5d
)
added ASSERT_OUTSIDE_BEGIN_END_AND_FLUSH() in _mesa_Fogfv()
author
Brian Paul
<brian.paul@tungstengraphics.com>
Mon, 5 Jun 2000 14:33:06 +0000
(14:33 +0000)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Mon, 5 Jun 2000 14:33:06 +0000
(14:33 +0000)
src/mesa/main/fog.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/fog.c
b/src/mesa/main/fog.c
index 998c9bdac56043c7a57d10a3160712897265ffc4..a16ede32372be0255ab8804e18621782033e7238 100644
(file)
--- 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;