summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/r300_render.c
diff options
context:
space:
mode:
authorCorbin Simpson <[email protected]>2010-01-26 21:49:02 -0800
committerCorbin Simpson <[email protected]>2010-01-26 21:49:02 -0800
commit60aa7f1f8042a9291339a3b337a2f1adacf12841 (patch)
tree0088811f0c0a7812918c28a896b10580397f3732 /src/gallium/drivers/r300/r300_render.c
parente62520de70731b39bb34411372eb3d30638cf5a6 (diff)
r300g: Make vertex_format into an atom.
Some delicious hax here.
Diffstat (limited to 'src/gallium/drivers/r300/r300_render.c')
-rw-r--r--src/gallium/drivers/r300/r300_render.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r300/r300_render.c b/src/gallium/drivers/r300/r300_render.c
index dcd0761944f..354f3bb921d 100644
--- a/src/gallium/drivers/r300/r300_render.c
+++ b/src/gallium/drivers/r300/r300_render.c
@@ -556,7 +556,7 @@ r300_render_get_vertex_info(struct vbuf_render* render)
r300_update_derived_state(r300);
- return &r300->vertex_info->vinfo;
+ return (struct vertex_info*)r300->vertex_format_state.state;
}
static boolean r300_render_allocate_vertices(struct vbuf_render* render,