Mesa (master): mesa: move extra prim mode #defines
Brian Paul
brianp at kemper.freedesktop.org
Thu Jan 20 16:48:26 UTC 2011
Module: Mesa
Branch: master
Commit: fe49dcb3b03454ec1451b610ea89f2374946e090
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=fe49dcb3b03454ec1451b610ea89f2374946e090
Author: Brian Paul <brianp at vmware.com>
Date: Thu Jan 20 09:38:08 2011 -0700
mesa: move extra prim mode #defines
---
src/mesa/main/dd.h | 5 -----
src/mesa/main/mtypes.h | 5 +++++
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/mesa/main/dd.h b/src/mesa/main/dd.h
index 2eede42..749c30a 100644
--- a/src/mesa/main/dd.h
+++ b/src/mesa/main/dd.h
@@ -881,11 +881,6 @@ struct dd_function_table {
*/
void (*ValidateTnlModule)( struct gl_context *ctx, GLuint new_state );
-
-#define PRIM_OUTSIDE_BEGIN_END (GL_POLYGON+1)
-#define PRIM_INSIDE_UNKNOWN_PRIM (GL_POLYGON+2)
-#define PRIM_UNKNOWN (GL_POLYGON+3)
-
/**
* Set by the driver-supplied T&L engine.
*
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
index e92db3a..1d878ae 100644
--- a/src/mesa/main/mtypes.h
+++ b/src/mesa/main/mtypes.h
@@ -121,6 +121,11 @@ struct st_context;
/*@}*/
+/** Extra draw modes beyond GL_POINTS, GL_TRIANGLE_FAN, etc */
+#define PRIM_OUTSIDE_BEGIN_END (GL_POLYGON+1)
+#define PRIM_INSIDE_UNKNOWN_PRIM (GL_POLYGON+2)
+#define PRIM_UNKNOWN (GL_POLYGON+3)
+
/**
* Shader stages. Note that these will become 5 with tessellation.
More information about the mesa-commit
mailing list