r300: fix wrong call in last commit
authorDave Airlie <airlied@redhat.com>
Sat, 23 Jan 2010 10:07:08 +0000 (20:07 +1000)
committerDave Airlie <airlied@redhat.com>
Sat, 23 Jan 2010 10:07:08 +0000 (20:07 +1000)
src/gallium/drivers/r300/r300_render.c

index 68abfbe208b2a2790c105587534150f9b93c56d5..cb2d8d45371eb5d93c4a53ba3d8eb8b76f5d5c35 100644 (file)
@@ -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)) {