[Mesa-dev] [PATCH 5/5] gallium: change pipe_draw_info::mode to be pipe_prim_type

Marek Olšák maraeo at gmail.com
Thu May 26 14:58:01 UTC 2016


Reviewed-by: Marek Olšák <marek.olsak at amd.com>

Marek

On Thu, May 26, 2016 at 4:09 PM, Brian Paul <brianp at vmware.com> wrote:
> Makes debugging with gdb a little nicer.
> ---
>  src/gallium/include/pipe/p_state.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> 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 */
>
> --
> 1.9.1
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list