summaryrefslogtreecommitdiff
path: root/src/mesa/main/mtypes.h
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2011-01-20 09:38:08 -0700
committerBrian Paul <brianp@vmware.com>2011-01-20 09:44:33 -0700
commitfe49dcb3b03454ec1451b610ea89f2374946e090 (patch)
tree05533eaf584b8326cc10aa34876f0d658e9a0c71 /src/mesa/main/mtypes.h
parentb62e78c783a76215f404ba69eef9b4f58b4a07ea (diff)
mesa: move extra prim mode #defines
Diffstat (limited to 'src/mesa/main/mtypes.h')
-rw-r--r--src/mesa/main/mtypes.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
index e92db3a4ff..1d878ae4e4 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.