projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd83bc2
)
minor fix in buffer_object_get_target()
author
Brian Paul
<brian.paul@tungstengraphics.com>
Tue, 14 Oct 2003 14:49:39 +0000
(14:49 +0000)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Tue, 14 Oct 2003 14:49:39 +0000
(14:49 +0000)
src/mesa/main/bufferobj.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/bufferobj.c
b/src/mesa/main/bufferobj.c
index e47065415dbac8421f75fc6d8f9fa94576104db6..93a3066bf69c81a8fef94f80ccfd277780133825 100644
(file)
--- 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)