projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bbd9616
)
vbo: fix error parameter
author
Brian Paul
<brianp@vmware.com>
Wed, 2 Mar 2011 02:11:44 +0000
(19:11 -0700)
committer
Brian Paul
<brianp@vmware.com>
Wed, 2 Mar 2011 16:10:49 +0000
(09:10 -0700)
Spotted by Ian.
src/mesa/vbo/vbo_save_api.c
patch
|
blob
|
history
diff --git
a/src/mesa/vbo/vbo_save_api.c
b/src/mesa/vbo/vbo_save_api.c
index fc5f60e928965185d6135538b826da8134655a34..836c76fe835cd87f60776dce17c3ab672b34c8b8 100644
(file)
--- a/
src/mesa/vbo/vbo_save_api.c
+++ b/
src/mesa/vbo/vbo_save_api.c
@@
-633,7
+633,7
@@
static void _save_reset_vertex( struct gl_context *ctx )
-#define ERROR(err) _mesa_compile_error( ctx,
GL_INVALID_ENUM
, __FUNCTION__ );
+#define ERROR(err) _mesa_compile_error( ctx,
err
, __FUNCTION__ );
/* Only one size for each attribute may be active at once. Eg. if