diff options
author | Chia-I Wu <[email protected]> | 2010-08-01 14:27:56 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2010-08-25 16:06:38 +0800 |
commit | 94e8d4171d9647db84cd53334a2b14fab062640d (patch) | |
tree | d7e50cd7d0ed73a0515af9cce6b8fc0e2dc3cddf /src/gallium/drivers/svga/svga_swtnl.h | |
parent | 4f024e0f642f4f743e4d051ec71c00e45bfd361f (diff) |
svga: Remove redundant svga_draw_range_elements.
That is, implement draw_vbo directly. As a result,
svga_swtnl_draw_range_elements is also replaced by svga_swtnl_draw_vbo.
This commit should not have any functional change.
Diffstat (limited to 'src/gallium/drivers/svga/svga_swtnl.h')
-rw-r--r-- | src/gallium/drivers/svga/svga_swtnl.h | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/src/gallium/drivers/svga/svga_swtnl.h b/src/gallium/drivers/svga/svga_swtnl.h index 65c675f99c9..fc094e51428 100644 --- a/src/gallium/drivers/svga/svga_swtnl.h +++ b/src/gallium/drivers/svga/svga_swtnl.h @@ -38,15 +38,8 @@ void svga_destroy_swtnl( struct svga_context *svga ); enum pipe_error -svga_swtnl_draw_range_elements(struct svga_context *svga, - struct pipe_resource *indexBuffer, - unsigned indexSize, - int indexBias, - unsigned min_index, - unsigned max_index, - unsigned prim, - unsigned start, - unsigned count); +svga_swtnl_draw_vbo(struct svga_context *svga, + const struct pipe_draw_info *info); #endif |