diff options
author | Brian Paul <[email protected]> | 2003-10-14 14:49:39 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2003-10-14 14:49:39 +0000 |
commit | 4b6f6e1b3d50a972fa82ea90e1409f28eda26550 (patch) | |
tree | e0c8581ff41f0f239d011cf221d8cb8c4b36cea5 | |
parent | fd83bc2b33f34195f05300eee6ebfe18570177a0 (diff) |
minor fix in buffer_object_get_target()
-rw-r--r-- | src/mesa/main/bufferobj.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/bufferobj.c b/src/mesa/main/bufferobj.c index e47065415db..93a3066bf69 100644 --- a/src/mesa/main/bufferobj.c +++ b/src/mesa/main/bufferobj.c @@ -62,7 +62,7 @@ buffer_object_get_target( GLcontext *ctx, GLenum target, const char * str ) break; default: _mesa_error(ctx, GL_INVALID_ENUM, "gl%s(target)", str); - break; + return NULL; } if (bufObj->Name == 0) |