OSDN Git Service

mesa: fix bogus comment about PrimitiveRestart fields
authorChris Forbes <chrisf@ijw.co.nz>
Mon, 22 Apr 2013 05:07:57 +0000 (17:07 +1200)
committerChris Forbes <chrisf@ijw.co.nz>
Thu, 25 Apr 2013 08:49:25 +0000 (20:49 +1200)
Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/main/mtypes.h

index 4e32e48..139c6af 100644 (file)
@@ -1537,8 +1537,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;