Mesa (master): r300: fix wrong call in last commit

Dave Airlie airlied at kemper.freedesktop.org
Sat Jan 23 10:09:16 UTC 2010


Module: Mesa
Branch: master
Commit: 3b002c9f75dd76e41552306516545080719fc065
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3b002c9f75dd76e41552306516545080719fc065

Author: Dave Airlie <airlied at redhat.com>
Date:   Sat Jan 23 20:07:08 2010 +1000

r300: fix wrong call in last commit

---

 src/gallium/drivers/r300/r300_render.c |    2 +-
 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 68abfbe..cb2d8d4 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)) {




More information about the mesa-commit mailing list