svga: s/unsigned/enum pipe_prim_type/ for primitive type variables
[mesa.git] / src / gallium / drivers / svga / svga_draw_private.h
index da5d60e38f7baf5735d34112f04c97f44612243b..38e5e66fd5a8cbc4065acb58cc854dd0a301d8f8 100644 (file)
@@ -189,7 +189,8 @@ struct svga_hwtnl {
  * triangles?
  */
 static inline boolean
-svga_need_unfilled_fallback(const struct svga_hwtnl *hwtnl, unsigned prim)
+svga_need_unfilled_fallback(const struct svga_hwtnl *hwtnl,
+                            enum pipe_prim_type prim)
 {
    const struct svga_context *svga = hwtnl->svga;
 
@@ -235,7 +236,7 @@ svga_hwtnl_simple_draw_range_elements( struct svga_hwtnl *hwtnl,
                                        int index_bias,
                                        unsigned min_index,
                                        unsigned max_index,
-                                       unsigned prim, 
+                                       enum pipe_prim_type prim,
                                        unsigned start,
                                        unsigned count,
                                        unsigned start_instance,