summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/context.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2000-09-17 21:56:07 +0000
committerBrian Paul <[email protected]>2000-09-17 21:56:07 +0000
commit1c56fdc7072c040de68868748dc2d03c58f5ee22 (patch)
tree30d67bdbd9c44c1d830cfb30ada07b39044d1f6c /src/mesa/main/context.c
parentf3c399ec11947add49d3a5e9d36d93ff6b45d93e (diff)
new comments, misc clean-up
Diffstat (limited to 'src/mesa/main/context.c')
-rw-r--r--src/mesa/main/context.c16
1 files changed, 14 insertions, 2 deletions
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c
index f0ecfbf014e..71cbc6addcf 100644
--- a/src/mesa/main/context.c
+++ b/src/mesa/main/context.c
@@ -1,4 +1,4 @@
-/* $Id: context.c,v 1.87 2000/09/15 19:45:40 brianp Exp $ */
+/* $Id: context.c,v 1.88 2000/09/17 21:56:07 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -423,7 +423,6 @@ one_time_init( void )
gl_init_translate();
gl_init_vbrender();
gl_init_vbxform();
- gl_init_vertices();
if (getenv("MESA_DEBUG")) {
_glapi_noop_enable_warnings(GL_TRUE);
@@ -2070,3 +2069,16 @@ const char *_mesa_prim_name[GL_POLYGON+2] = {
"culled primitive"
};
+
+GLenum gl_reduce_prim[GL_POLYGON+1] = {
+ GL_POINTS,
+ GL_LINES,
+ GL_LINES,
+ GL_LINES,
+ GL_TRIANGLES,
+ GL_TRIANGLES,
+ GL_TRIANGLES,
+ GL_TRIANGLES,
+ GL_TRIANGLES,
+ GL_TRIANGLES,
+};