From: Brian Paul Date: Thu, 26 May 2016 13:17:50 +0000 (-0600) Subject: gallium: change pipe_draw_info::mode to be pipe_prim_type X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=46be65c681b251beced67abfabbb86117b589d44;p=mesa.git gallium: change pipe_draw_info::mode to be pipe_prim_type Makes debugging with gdb a little nicer. Reviewed-by: Marek Olšák Reviewed-by: Roland Scheidegger --- 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 */