summaryrefslogtreecommitdiff
path: root/src/mesa/main/debug.c
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2011-01-20 09:38:49 -0700
committerBrian Paul <brianp@vmware.com>2011-01-20 09:44:33 -0700
commit887d2b647bae7f6536bab08649bad9f799995d08 (patch)
tree9c672fa057c8a150e7814279bac29413e3ae53e2 /src/mesa/main/debug.c
parentfe49dcb3b03454ec1451b610ea89f2374946e090 (diff)
mesa: clean-up _mesa_lookup_prim_by_nr()
Remove the redundant public _mesa_prim_name[] array.
Diffstat (limited to 'src/mesa/main/debug.c')
-rw-r--r--src/mesa/main/debug.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/mesa/main/debug.c b/src/mesa/main/debug.c
index 79aa53585f..a6a909b48c 100644
--- a/src/mesa/main/debug.c
+++ b/src/mesa/main/debug.c
@@ -37,26 +37,6 @@
#include "texobj.h"
-/**
- * Primitive names
- */
-const char *_mesa_prim_name[GL_POLYGON+4] = {
- "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",
- "outside begin/end",
- "inside unknown primitive",
- "unknown state"
-};
-
-
static const char *
tex_target_name(GLenum tgt)
{