summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/draw/draw_vertex.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/pipe/draw/draw_vertex.c')
-rw-r--r--src/mesa/pipe/draw/draw_vertex.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/pipe/draw/draw_vertex.c b/src/mesa/pipe/draw/draw_vertex.c
index 1204a944de..ce76cb043c 100644
--- a/src/mesa/pipe/draw/draw_vertex.c
+++ b/src/mesa/pipe/draw/draw_vertex.c
@@ -44,7 +44,7 @@
static INLINE void
emit_vertex_attr(struct vertex_info *vinfo,
- attrib_format format, interp_mode interp)
+ enum attrib_format format, enum interp_mode interp)
{
const uint n = vinfo->num_attribs;
vinfo->interp_mode[n] = interp;
@@ -95,7 +95,7 @@ draw_compute_vertex_size(struct vertex_info *vinfo)
void
draw_set_vertex_attributes( struct draw_context *draw,
const uint *slot_to_vf_attr,
- const interp_mode *interps,
+ const enum interp_mode *interps,
unsigned nr_attrs )
{
struct vertex_info *vinfo = &draw->vertex_info;