diff options
author | Keith Whitwell <[email protected]> | 2001-01-05 05:31:42 +0000 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2001-01-05 05:31:42 +0000 |
commit | f4b02d1a2675d4a0699b8995a422fbd413c32301 (patch) | |
tree | 07bcec53f4c6a8db68a7c4b85a6203bea5d3e3c5 /src/mesa/main/enable.c | |
parent | 58e991705392a2e17a1c8b034f4083a0adaf1943 (diff) |
various compilation/warning fixes
Diffstat (limited to 'src/mesa/main/enable.c')
-rw-r--r-- | src/mesa/main/enable.c | 3 |
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) |