diff options
author | Brian Paul <[email protected]> | 2011-03-01 17:16:00 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2011-03-01 17:16:02 -0700 |
commit | a2924b488b8d77381779bbb5a0097c467678d39b (patch) | |
tree | 336fd59140ebc7cac79c02c31cdb9bcce9c59553 /src/mesa/vbo/vbo_save_api.c | |
parent | 1c9ca21adb7943f564e7f258d8075d3ace7ec943 (diff) |
vbo: generate GL_INVALID_VALUE for bad glVertexAttrib index
Diffstat (limited to 'src/mesa/vbo/vbo_save_api.c')
-rw-r--r-- | src/mesa/vbo/vbo_save_api.c | 2 |
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 c8199544526..fc5f60e9289 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() _mesa_compile_error( ctx, GL_INVALID_ENUM, __FUNCTION__ ); +#define ERROR(err) _mesa_compile_error( ctx, GL_INVALID_ENUM, __FUNCTION__ ); /* Only one size for each attribute may be active at once. Eg. if |