summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2010-01-23 20:07:08 +1000
committerDave Airlie <[email protected]>2010-01-23 20:07:08 +1000
commit3b002c9f75dd76e41552306516545080719fc065 (patch)
treedbcc432b3da6fba74a92a4d33aff64259dddaac6
parent76bc66b664c7e135aa9c06cedd94ee1961d68c70 (diff)
r300: fix wrong call in last commit
-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 68abfbe208b..cb2d8d45371 100644
--- a/src/gallium/drivers/r300/r300_render.c
+++ b/src/gallium/drivers/r300/r300_render.c
@@ -311,7 +311,7 @@ void r300_draw_range_elements(struct pipe_context* pipe,
indexSize = 2;
}
- r300_emit_buffer_validate(r300->winsys);
+ r300_emit_buffer_validate(r300);
if (!r300->winsys->add_buffer(r300->winsys, indexBuffer,
RADEON_GEM_DOMAIN_GTT, 0)) {