Mesa (master): main: change some GS field types, added comments
Brian Paul
brianp at kemper.freedesktop.org
Fri Jul 2 15:09:26 UTC 2010
Module: Mesa
Branch: master
Commit: e3c961de3696911d8ab1351e64bd6e904de103d0
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e3c961de3696911d8ab1351e64bd6e904de103d0
Author: Brian Paul <brianp at vmware.com>
Date: Fri Jul 2 09:07:36 2010 -0600
main: change some GS field types, added comments
---
src/mesa/main/mtypes.h | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
index 3022527..f2d2133 100644
--- a/src/mesa/main/mtypes.h
+++ b/src/mesa/main/mtypes.h
@@ -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 */
};
More information about the mesa-commit
mailing list