diff options
author | Brian Paul <[email protected]> | 2016-05-25 16:52:34 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2016-05-26 17:44:17 -0600 |
commit | d21a309c6c00122b0562284d78fce5138fa2ad30 (patch) | |
tree | ba76a97b40b1247f89938ba5975960a16abdb5e1 /src/gallium/drivers/svga/svga_draw.h | |
parent | 90afd7b7ef897f7ba126006d866d1e726235b974 (diff) |
svga: s/unsigned/enum pipe_prim_type/ for primitive type variables
Proper enum types were only added recently.
Reviewed-by: Roland Scheidegger <[email protected]>
Diffstat (limited to 'src/gallium/drivers/svga/svga_draw.h')
-rw-r--r-- | src/gallium/drivers/svga/svga_draw.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/svga/svga_draw.h b/src/gallium/drivers/svga/svga_draw.h index af8ecabcbae..baefcd94ec8 100644 --- a/src/gallium/drivers/svga/svga_draw.h +++ b/src/gallium/drivers/svga/svga_draw.h @@ -59,7 +59,7 @@ svga_hwtnl_vertex_buffers(struct svga_hwtnl *hwtnl, enum pipe_error svga_hwtnl_draw_arrays(struct svga_hwtnl *hwtnl, - unsigned prim, unsigned start, unsigned count, + enum pipe_prim_type prim, unsigned start, unsigned count, unsigned start_instance, unsigned instance_count); enum pipe_error @@ -69,7 +69,7 @@ svga_hwtnl_draw_range_elements(struct svga_hwtnl *hwtnl, int index_bias, unsigned min_index, unsigned max_index, - unsigned prim, unsigned start, unsigned count, + enum pipe_prim_type prim, unsigned start, unsigned count, unsigned start_instance, unsigned instance_count); boolean |