main: change some GS field types, added comments
authorBrian Paul <brianp@vmware.com>
Fri, 2 Jul 2010 15:07:36 +0000 (09:07 -0600)
committerBrian Paul <brianp@vmware.com>
Fri, 2 Jul 2010 15:07:36 +0000 (09:07 -0600)
src/mesa/main/mtypes.h

index 30225274cd15466bf4ac457efd8e5c4dcb282f79..f2d2133fe7f77aaae95464a1bf8579e8afe8a5aa 100644 (file)
@@ -1850,8 +1850,9 @@ struct gl_geometry_program
    struct gl_program Base;   /**< base class */
 
    GLint VerticesOut;
-   GLint InputType;
-   GLint OutputType;
+   GLenum InputType;  /**< GL_POINTS, GL_LINES, GL_LINES_ADJACENCY_ARB,
+                           GL_TRIANGLES, or GL_TRIANGLES_ADJACENCY_ARB */
+   GLenum OutputType; /**< GL_POINTS, GL_LINE_STRIP or GL_TRIANGLE_STRIP */
 };