diff options
author | Brian <[email protected]> | 2007-10-24 14:34:40 -0600 |
---|---|---|
committer | Brian <[email protected]> | 2007-10-24 14:34:40 -0600 |
commit | 11ce6244a79106c592364b30434b6ddade3fd6bb (patch) | |
tree | cd46d9357503d6cbd32133f5b037ad569974d505 /src/mesa/pipe/failover/fo_context.c | |
parent | 3733b1f2e95642b47218604aee6a34eacb0c7293 (diff) |
Undo indexOffset change (I think, git???)
Diffstat (limited to 'src/mesa/pipe/failover/fo_context.c')
-rw-r--r-- | src/mesa/pipe/failover/fo_context.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mesa/pipe/failover/fo_context.c b/src/mesa/pipe/failover/fo_context.c index 076d5165833..b836ef29f30 100644 --- a/src/mesa/pipe/failover/fo_context.c +++ b/src/mesa/pipe/failover/fo_context.c @@ -47,7 +47,7 @@ static void failover_destroy( struct pipe_context *pipe ) static boolean failover_draw_elements( struct pipe_context *pipe, struct pipe_buffer_handle *indexBuffer, - unsigned indexSize, + unsigned indexSize, unsigned indexOffset, unsigned prim, unsigned start, unsigned count) { struct failover_context *failover = failover_context( pipe ); @@ -65,6 +65,7 @@ static boolean failover_draw_elements( struct pipe_context *pipe, if (!failover->hw->draw_elements( failover->hw, indexBuffer, indexSize, + indexOffset, prim, start, count )) { @@ -84,6 +85,7 @@ static boolean failover_draw_elements( struct pipe_context *pipe, failover->sw->draw_elements( failover->sw, indexBuffer, indexSize, + indexOffset, prim, start, count ); @@ -102,7 +104,7 @@ static boolean failover_draw_elements( struct pipe_context *pipe, static boolean failover_draw_arrays( struct pipe_context *pipe, unsigned prim, unsigned start, unsigned count) { - return failover_draw_elements(pipe, NULL, 0, prim, start, count); + return failover_draw_elements(pipe, NULL, 0, 0, prim, start, count); } |