summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/r300_emit.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2010-09-13 12:58:19 +0200
committerMarek Olšák <[email protected]>2010-09-13 13:26:35 +0200
commit0392e48867c27f2aa445c5c9b35f4a52ecef2f2d (patch)
tree22e037ba8ae68b7b0e869a04db0b40a4009cbe66 /src/gallium/drivers/r300/r300_emit.c
parent501d43028e8e551dd36ede00fb85095183c32037 (diff)
r300g: fix SWTCL
https://bugs.freedesktop.org/show_bug.cgi?id=29901
Diffstat (limited to 'src/gallium/drivers/r300/r300_emit.c')
-rw-r--r--src/gallium/drivers/r300/r300_emit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r300/r300_emit.c b/src/gallium/drivers/r300/r300_emit.c
index 3eebd2a9be6..b2b34c3efcb 100644
--- a/src/gallium/drivers/r300/r300_emit.c
+++ b/src/gallium/drivers/r300/r300_emit.c
@@ -847,7 +847,7 @@ void r300_emit_aos_swtcl(struct r300_context *r300, boolean indexed)
OUT_CS(1 | (!indexed ? R300_VC_FORCE_PREFETCH : 0));
OUT_CS(r300->vertex_info.size |
(r300->vertex_info.size << 8));
- OUT_CS(r300->vbo_offset);
+ OUT_CS(r300->draw_vbo_offset);
OUT_CS_BUF_RELOC(r300->vbo, 0, r300_buffer(r300->vbo)->domain, 0);
END_CS;
}