[Mesa-dev] [PATCH] mesa: fix bogus comment about PrimitiveRestart fields

Eric Anholt eric at anholt.net
Mon Apr 22 09:40:02 PDT 2013


Chris Forbes <chrisf at ijw.co.nz> writes:

> Signed-off-by: Chris Forbes <chrisf at ijw.co.nz>
> ---
>  src/mesa/main/mtypes.h | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
> index 6108a35..7b51ec8 100644
> --- a/src/mesa/main/mtypes.h
> +++ b/src/mesa/main/mtypes.h
> @@ -1536,8 +1536,8 @@ struct gl_array_attrib
>      * \name Primitive restart controls
>      *
>      * Primitive restart is enabled if either \c PrimitiveRestart or
> -    * \c PrimitiveRestart is set.  If \c PrimitiveRestart is set, then
> -    * \c RestartIndex is used as the cut vertex.  Otherwise ~0 is used.
> +    * \c PrimitiveRestartFixedIndex is set.  If \c PrimitiveRestart is set,
> +    * then \c RestartIndex is used as the cut vertex.  Otherwise ~0 is used.
>      */
>     /*@{*/
>     GLboolean PrimitiveRestart;

Reviewed-by: Eric Anholt <eric at anholt.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20130422/0a34d6fa/attachment.pgp>


More information about the mesa-dev mailing list