summaryrefslogtreecommitdiff
path: root/lib/mesa/src/gallium/auxiliary/draw/draw_vbuf.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mesa/src/gallium/auxiliary/draw/draw_vbuf.h')
-rw-r--r--lib/mesa/src/gallium/auxiliary/draw/draw_vbuf.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/mesa/src/gallium/auxiliary/draw/draw_vbuf.h b/lib/mesa/src/gallium/auxiliary/draw/draw_vbuf.h
index 194796b04..8faccda55 100644
--- a/lib/mesa/src/gallium/auxiliary/draw/draw_vbuf.h
+++ b/lib/mesa/src/gallium/auxiliary/draw/draw_vbuf.h
@@ -38,6 +38,7 @@
#include "pipe/p_compiler.h"
+#include "pipe/p_defines.h"
struct pipe_rasterizer_state;
@@ -96,7 +97,7 @@ struct vbuf_render {
* the discretion of the driver, for the benefit of the passthrough
* path.
*/
- void (*set_primitive)( struct vbuf_render *, unsigned prim );
+ void (*set_primitive)( struct vbuf_render *, enum pipe_prim_type prim );
/**
* Draw indexed primitives. Note that indices are ushort. The driver