summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/r300_blit.c
diff options
context:
space:
mode:
authorCorbin Simpson <[email protected]>2010-03-02 18:40:03 -0800
committerCorbin Simpson <[email protected]>2010-03-02 18:40:03 -0800
commit4240987cecdaaaeb2d6188f7c83ff4cb8e670c59 (patch)
treeaf2c4ab200f6f7bbcebee33a4c1666a27e07d452 /src/gallium/drivers/r300/r300_blit.c
parentddccf7797425097ee6562290d3476075c38220b0 (diff)
r300g: Make velem CSO actually work.
glxgears runs again.
Diffstat (limited to 'src/gallium/drivers/r300/r300_blit.c')
-rw-r--r--src/gallium/drivers/r300/r300_blit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r300/r300_blit.c b/src/gallium/drivers/r300/r300_blit.c
index 2f9650df1b7..297768e5cf4 100644
--- a/src/gallium/drivers/r300/r300_blit.c
+++ b/src/gallium/drivers/r300/r300_blit.c
@@ -34,7 +34,7 @@ static void r300_blitter_save_states(struct r300_context* r300)
util_blitter_save_rasterizer(r300->blitter, r300->rs_state.state);
util_blitter_save_fragment_shader(r300->blitter, r300->fs);
util_blitter_save_vertex_shader(r300->blitter, r300->vs);
- util_blitter_save_vertex_elements(r300->blitter, r300->vs);
+ util_blitter_save_vertex_elements(r300->blitter, r300->velems);
}
/* Clear currently bound buffers. */