summaryrefslogtreecommitdiffstats
path: root/src/gallium/include/pipe
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2016-05-26 07:17:50 -0600
committerBrian Paul <brianp@vmware.com>2016-05-26 17:44:18 -0600
commit46be65c681b251beced67abfabbb86117b589d44 (patch)
tree5bb6a546fff794c9c43a7d647a80ed00f22e5d94 /src/gallium/include/pipe
parenta25ae485a6ae17fa78ffa51c3e4c08823cfffd88 (diff)
downloadexternal_mesa3d-46be65c681b251beced67abfabbb86117b589d44.zip
external_mesa3d-46be65c681b251beced67abfabbb86117b589d44.tar.gz
external_mesa3d-46be65c681b251beced67abfabbb86117b589d44.tar.bz2
gallium: change pipe_draw_info::mode to be pipe_prim_type
Makes debugging with gdb a little nicer. Reviewed-by: Marek Olšák <marek.olsak@amd.com> Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Diffstat (limited to 'src/gallium/include/pipe')
-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 eacf9bb..396f563 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 */