aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/vbo
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2011-03-01 19:11:44 -0700
committerBrian Paul <[email protected]>2011-03-02 09:10:49 -0700
commit69c6e21ceb6c2eb0c4b0fae0228027d665027b4e (patch)
tree116c904f59b723346e66f0a87ca5378f7fa90baf /src/mesa/vbo
parentbbd9616838623c637e5f24bef62c068e2c9c3775 (diff)
vbo: fix error parameter
Spotted by Ian.
Diffstat (limited to 'src/mesa/vbo')
-rw-r--r--src/mesa/vbo/vbo_save_api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/vbo/vbo_save_api.c b/src/mesa/vbo/vbo_save_api.c
index fc5f60e9289..836c76fe835 100644
--- 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