diff options
author | Brian <brian.paul@tungstengraphics.com> | 2007-10-24 14:35:40 -0600 |
---|---|---|
committer | Brian <brian.paul@tungstengraphics.com> | 2007-10-24 14:35:40 -0600 |
commit | 40a0b053f78acd0a08f6876518b8e9301480431f (patch) | |
tree | 6ca70655441fd94a8518880d6d1da19eee7634a6 /src/mesa/pipe/failover/fo_context.c | |
parent | 11ce6244a79106c592364b30434b6ddade3fd6bb (diff) | |
download | external_mesa3d-40a0b053f78acd0a08f6876518b8e9301480431f.zip external_mesa3d-40a0b053f78acd0a08f6876518b8e9301480431f.tar.gz external_mesa3d-40a0b053f78acd0a08f6876518b8e9301480431f.tar.bz2 |
Revert "Undo indexOffset change (I think, git???)"
This reverts commit 11ce6244a79106c592364b30434b6ddade3fd6bb.
Diffstat (limited to 'src/mesa/pipe/failover/fo_context.c')
-rw-r--r-- | src/mesa/pipe/failover/fo_context.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/mesa/pipe/failover/fo_context.c b/src/mesa/pipe/failover/fo_context.c index b836ef2..076d516 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 indexOffset, + unsigned indexSize, unsigned prim, unsigned start, unsigned count) { struct failover_context *failover = failover_context( pipe ); @@ -65,7 +65,6 @@ static boolean failover_draw_elements( struct pipe_context *pipe, if (!failover->hw->draw_elements( failover->hw, indexBuffer, indexSize, - indexOffset, prim, start, count )) { @@ -85,7 +84,6 @@ static boolean failover_draw_elements( struct pipe_context *pipe, failover->sw->draw_elements( failover->sw, indexBuffer, indexSize, - indexOffset, prim, start, count ); @@ -104,7 +102,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, 0, prim, start, count); + return failover_draw_elements(pipe, NULL, 0, prim, start, count); } |