diff options
author | Marek Olšák <[email protected]> | 2012-04-16 16:41:09 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2012-04-19 14:47:21 +0200 |
commit | 97e2f625b8bcba96acde29dcd017031e036f4a24 (patch) | |
tree | 9f54b8f22ce0d00bfdd879fdcaf0d8c84c5c1937 /src/mesa/vbo/vbo_save_draw.c | |
parent | 8c990de0d682bbedfd7e1988d4f8948ea99b0cc3 (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_save_draw.c')
-rw-r--r-- | src/mesa/vbo/vbo_save_draw.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/vbo/vbo_save_draw.c b/src/mesa/vbo/vbo_save_draw.c index 4eac65a8fda..57186de6460 100644 --- a/src/mesa/vbo/vbo_save_draw.c +++ b/src/mesa/vbo/vbo_save_draw.c @@ -150,7 +150,8 @@ static void vbo_bind_vertex_list(struct gl_context *ctx, save->inputs[attr] = &vbo->currval[VBO_ATTRIB_POS+attr]; } for (attr = 0; attr < MAT_ATTRIB_MAX; attr++) { - save->inputs[VERT_ATTRIB_GENERIC(attr)] = &vbo->mat_currval[attr]; + save->inputs[VERT_ATTRIB_GENERIC(attr)] = + &vbo->currval[VBO_ATTRIB_MAT_FRONT_AMBIENT+attr]; } map = vbo->map_vp_none; break; |