summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/i965/brw_draw.c
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2009-11-04 15:25:42 +0000
committerKeith Whitwell <[email protected]>2009-11-04 15:25:42 +0000
commit9706a83bc959ba8445d0258e47639b44da2238fc (patch)
treecc491c38358191eb05902c6f39da068123e7c10d /src/gallium/drivers/i965/brw_draw.c
parenta09b3d50975e68c13c0421d770f3865ad2a1257c (diff)
i965g: hook up more pipe_context functions
Diffstat (limited to 'src/gallium/drivers/i965/brw_draw.c')
-rw-r--r--src/gallium/drivers/i965/brw_draw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/i965/brw_draw.c b/src/gallium/drivers/i965/brw_draw.c
index b5fe7c96010..a2bed6256b7 100644
--- a/src/gallium/drivers/i965/brw_draw.c
+++ b/src/gallium/drivers/i965/brw_draw.c
@@ -166,7 +166,7 @@ try_draw_range_elements(struct brw_context *brw,
return ret;
if (brw->flags.always_flush_batch)
- brw_batchbuffer_flush(brw->batch);
+ brw_context_flush( brw );
return 0;
}
@@ -217,7 +217,7 @@ brw_draw_range_elements(struct pipe_context *pipe,
/* Otherwise, flush and retry:
*/
if (ret != 0) {
- brw_batchbuffer_flush(brw->batch);
+ brw_context_flush( brw );
ret = try_draw_range_elements(brw, index_buffer, hw_prim, start, count );
assert(ret == 0);
}