summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/enable.c
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2001-01-05 05:31:42 +0000
committerKeith Whitwell <[email protected]>2001-01-05 05:31:42 +0000
commitf4b02d1a2675d4a0699b8995a422fbd413c32301 (patch)
tree07bcec53f4c6a8db68a7c4b85a6203bea5d3e3c5 /src/mesa/main/enable.c
parent58e991705392a2e17a1c8b034f4083a0adaf1943 (diff)
various compilation/warning fixes
Diffstat (limited to 'src/mesa/main/enable.c')
-rw-r--r--src/mesa/main/enable.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/main/enable.c b/src/mesa/main/enable.c
index 5806f9c0980..ca1cd5cf75f 100644
--- a/src/mesa/main/enable.c
+++ b/src/mesa/main/enable.c
@@ -1,4 +1,4 @@
-/* $Id: enable.c,v 1.38 2000/12/27 22:52:45 keithw Exp $ */
+/* $Id: enable.c,v 1.39 2001/01/05 05:31:42 keithw Exp $ */
/*
* Mesa 3-D graphics library
@@ -85,6 +85,7 @@ client_state( GLcontext *ctx, GLenum cap, GLboolean state )
break;
default:
gl_error( ctx, GL_INVALID_ENUM, "glEnable/DisableClientState" );
+ return;
}
if (*var == flag)