aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/i915
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2017-10-27 14:36:01 -0600
committerBrian Paul <[email protected]>2017-10-27 16:26:26 -0600
commit1fe4c7b2afac17d4f333b7b63251e98fd193a32a (patch)
treedc56e6380f2dc7ef9435c3c5e3cc669029debb5e /src/gallium/drivers/i915
parent3e4fd2d4b185dac55a481384f8ce3a8c93d78f87 (diff)
gallium: s/unsigned/enum pipe_prim_type/
In the vbuf_render::set_primitive() functions. Reviewed-by: Roland Scheidegger <[email protected]>
Diffstat (limited to 'src/gallium/drivers/i915')
-rw-r--r--src/gallium/drivers/i915/i915_prim_vbuf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/i915/i915_prim_vbuf.c b/src/gallium/drivers/i915/i915_prim_vbuf.c
index c0ba23b3be8..8f2f5c1bbbb 100644
--- a/src/gallium/drivers/i915/i915_prim_vbuf.c
+++ b/src/gallium/drivers/i915/i915_prim_vbuf.c
@@ -324,7 +324,7 @@ i915_vbuf_ensure_index_bounds(struct vbuf_render *render,
static void
i915_vbuf_render_set_primitive(struct vbuf_render *render,
- unsigned prim)
+ enum pipe_prim_type prim)
{
struct i915_vbuf_render *i915_render = i915_vbuf_render(render);
i915_render->prim = prim;