aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/include/pipe/p_state.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2016-05-26 07:17:50 -0600
committerBrian Paul <[email protected]>2016-05-26 17:44:18 -0600
commit46be65c681b251beced67abfabbb86117b589d44 (patch)
tree5bb6a546fff794c9c43a7d647a80ed00f22e5d94 /src/gallium/include/pipe/p_state.h
parenta25ae485a6ae17fa78ffa51c3e4c08823cfffd88 (diff)
gallium: change pipe_draw_info::mode to be pipe_prim_type
Makes debugging with gdb a little nicer. Reviewed-by: Marek Olšák <[email protected]> Reviewed-by: Roland Scheidegger <[email protected]>
Diffstat (limited to 'src/gallium/include/pipe/p_state.h')
-rw-r--r--src/gallium/include/pipe/p_state.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/include/pipe/p_state.h b/src/gallium/include/pipe/p_state.h
index eacf9bbe68b..396f563bd79 100644
--- a/src/gallium/include/pipe/p_state.h
+++ b/src/gallium/include/pipe/p_state.h
@@ -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 */