gallium: change pipe_draw_info::mode to be pipe_prim_type
[mesa.git] / src / gallium / include / pipe / p_state.h
index eacf9bbe68b27efdaf6de8bd1faf6d2b330a6c8d..396f563bd79b3a744bc50541654ef29ea9ea8996 100644 (file)
@@ -617,7 +617,7 @@ struct pipe_draw_info
 {
    boolean indexed;  /**< use index buffer */
 
-   unsigned mode;  /**< the mode of the primitive */
+   enum pipe_prim_type mode;  /**< the mode of the primitive */
    unsigned start;  /**< the index of the first vertex */
    unsigned count;  /**< number of vertices */