Mesa (master): mesa: minor formatting fixes
Brian Paul
brianp at kemper.freedesktop.org
Thu Jan 20 16:48:26 UTC 2011
Module: Mesa
Branch: master
Commit: cfae745a8bcbc108611178b69c645cfe29f28b37
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=cfae745a8bcbc108611178b69c645cfe29f28b37
Author: Brian Paul <brianp at vmware.com>
Date: Thu Jan 20 09:10:03 2011 -0700
mesa: minor formatting fixes
---
src/mesa/main/mtypes.h | 11 +++++++----
1 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
index a32b949..e92db3a 100644
--- a/src/mesa/main/mtypes.h
+++ b/src/mesa/main/mtypes.h
@@ -296,8 +296,8 @@ typedef enum
/**
* Indexes for geometry program result attributes
*/
-/*@{*/
-typedef enum {
+typedef enum
+{
GEOM_RESULT_POS = 0,
GEOM_RESULT_COL0 = 1,
GEOM_RESULT_COL1 = 2,
@@ -320,7 +320,7 @@ typedef enum {
/* ### we need to -2 because var0 is 18 instead 16 like in the others */
GEOM_RESULT_MAX = (GEOM_RESULT_VAR0 + MAX_VARYING - 2)
} gl_geom_result;
-/*@}*/
+
/**
* Indexes for fragment program input attributes.
@@ -3088,15 +3088,18 @@ struct gl_dlist_state
} Current;
};
+
/**
* Enum for the OpenGL APIs we know about and may support.
*/
-typedef enum {
+typedef enum
+{
API_OPENGL,
API_OPENGLES,
API_OPENGLES2
} gl_api;
+
/**
* Mesa rendering context.
*
More information about the mesa-commit
mailing list