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

Chris Forbes chrisf at ijw.co.nz
Mon Apr 22 02:40:45 PDT 2013


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;
-- 
1.8.2.1



More information about the mesa-dev mailing list