summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/context.c
diff options
context:
space:
mode:
authorGareth Hughes <[email protected]>2001-03-24 06:01:27 +0000
committerGareth Hughes <[email protected]>2001-03-24 06:01:27 +0000
commit425fea1c346438f1c60a768514e74f655f05417a (patch)
treefa432a1124ac1d31184944f90d8de78192244701 /src/mesa/main/context.c
parent577f318e0edd159d701a1f36893bbdee3c9e8c41 (diff)
- Minor cleanups of ctx->Driver.Current*Primitive usage.
- Remove unused gl_reduce_prim array.
Diffstat (limited to 'src/mesa/main/context.c')
-rw-r--r--src/mesa/main/context.c16
1 files changed, 1 insertions, 15 deletions
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c
index 013a16b95be..c9f180ec0fd 100644
--- a/src/mesa/main/context.c
+++ b/src/mesa/main/context.c
@@ -1,4 +1,4 @@
-/* $Id: context.c,v 1.129 2001/03/18 08:53:49 gareth Exp $ */
+/* $Id: context.c,v 1.130 2001/03/24 06:01:27 gareth Exp $ */
/*
* Mesa 3-D graphics library
@@ -2032,17 +2032,3 @@ const char *_mesa_prim_name[GL_POLYGON+4] = {
"inside unkown primitive",
"unknown state"
};
-
-
-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,
-};