summaryrefslogtreecommitdiffstats
path: root/src/mesa/vbo/vbo_exec_array.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2012-04-16 16:41:09 +0200
committerMarek Olšák <[email protected]>2012-04-19 14:47:21 +0200
commit97e2f625b8bcba96acde29dcd017031e036f4a24 (patch)
tree9f54b8f22ce0d00bfdd879fdcaf0d8c84c5c1937 /src/mesa/vbo/vbo_exec_array.c
parent8c990de0d682bbedfd7e1988d4f8948ea99b0cc3 (diff)
vbo: remove vbo_context::mat_currval
Reviewed-by: Brian Paul <[email protected]> Reviewed-by: Mathias Fröhlich <[email protected]>
Diffstat (limited to 'src/mesa/vbo/vbo_exec_array.c')
-rw-r--r--src/mesa/vbo/vbo_exec_array.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/vbo/vbo_exec_array.c b/src/mesa/vbo/vbo_exec_array.c
index 60e18dbba58..f95e062fb4a 100644
--- a/src/mesa/vbo/vbo_exec_array.c
+++ b/src/mesa/vbo/vbo_exec_array.c
@@ -426,7 +426,8 @@ recalculate_input_bindings(struct gl_context *ctx)
}
for (i = 0; i < MAT_ATTRIB_MAX; i++) {
- inputs[VERT_ATTRIB_GENERIC(i)] = &vbo->mat_currval[i];
+ inputs[VERT_ATTRIB_GENERIC(i)] =
+ &vbo->currval[VBO_ATTRIB_MAT_FRONT_AMBIENT+i];
const_inputs |= VERT_BIT_GENERIC(i);
}