summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/svga/svga_draw.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2016-05-25 16:52:34 -0600
committerBrian Paul <[email protected]>2016-05-26 17:44:17 -0600
commitd21a309c6c00122b0562284d78fce5138fa2ad30 (patch)
treeba76a97b40b1247f89938ba5975960a16abdb5e1 /src/gallium/drivers/svga/svga_draw.h
parent90afd7b7ef897f7ba126006d866d1e726235b974 (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.h4
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