summaryrefslogtreecommitdiff
path: root/src/mesa/main/context.c
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2000-09-08 21:28:04 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2000-09-08 21:28:04 +0000
commit48c6a6ecd2b94d73317f1579193d98101566217a (patch)
tree2de10e0a4070195594e73898d6051c3ad266d921 /src/mesa/main/context.c
parente18e0e98fea2384892324c84bf463d65c1159f7b (diff)
changed gl_frame_buffer Xmax and Ymax to be exclusive boundary values
Diffstat (limited to 'src/mesa/main/context.c')
-rw-r--r--src/mesa/main/context.c19
1 files changed, 18 insertions, 1 deletions
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c
index 5fbe5d0838..5ea29d924d 100644
--- a/src/mesa/main/context.c
+++ b/src/mesa/main/context.c
@@ -1,4 +1,4 @@
-/* $Id: context.c,v 1.83 2000/09/07 15:45:27 brianp Exp $ */
+/* $Id: context.c,v 1.84 2000/09/08 21:28:04 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -2050,3 +2050,20 @@ _mesa_Flush( void )
(*ctx->Driver.Flush)( ctx );
}
}
+
+
+
+const char *_mesa_prim_name[GL_POLYGON+2] = {
+ "GL_POINTS",
+ "GL_LINES",
+ "GL_LINE_LOOP",
+ "GL_LINE_STRIP",
+ "GL_TRIANGLES",
+ "GL_TRIANGLE_STRIP",
+ "GL_TRIANGLE_FAN",
+ "GL_QUADS",
+ "GL_QUAD_STRIP",
+ "GL_POLYGON",
+ "culled primitive"
+};
+