summaryrefslogtreecommitdiff
path: root/src/mesa/main/enums.c
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2001-01-17 02:49:38 +0000
committerKeith Whitwell <keith@tungstengraphics.com>2001-01-17 02:49:38 +0000
commitc0bcd2ca99609fe8b6e992e2277ef8612d46fdfe (patch)
tree3aa0c90e1f864323e35e51679aa5d69bf07a3c97 /src/mesa/main/enums.c
parent547bbcabffffad1a630c261830998c511efc2b96 (diff)
Fixes for performance bug on compiled array element paths.
Diffstat (limited to 'src/mesa/main/enums.c')
-rw-r--r--src/mesa/main/enums.c22
1 files changed, 4 insertions, 18 deletions
diff --git a/src/mesa/main/enums.c b/src/mesa/main/enums.c
index 67087536d4..5a4d871226 100644
--- a/src/mesa/main/enums.c
+++ b/src/mesa/main/enums.c
@@ -1,4 +1,4 @@
-/* $Id: enums.c,v 1.10 2001/01/06 22:46:13 gareth Exp $ */
+/* $Id: enums.c,v 1.11 2001/01/17 02:49:38 keithw Exp $ */
/*
* Mesa 3-D graphics library
@@ -22,6 +22,9 @@
* BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
* AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+ *
+ * Author:
+ * Keith Whitwell <keithw@valinux.com>
*/
@@ -910,20 +913,3 @@ const char *gl_lookup_enum_by_nr( int nr )
}
-#if 0
-int main()
-{
- int i;
- static const char *test[] = {
- "GL_POLYGON",
- "GL_TRUE",
- "GL_BANANA",
- "GL_REFLECTION_MAP_NV",
- };
-
- for (i = 0 ; i < Elements(test) ; i++) {
- int d = gl_lookup_enum_by_name( test[i] );
- printf("%s --> %d --> %s\n", test[i], d, gl_lookup_enum_by_nr( d ));
- }
-}
-#endif