summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/enums.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/main/enums.h')
-rw-r--r--src/mesa/main/enums.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/mesa/main/enums.h b/src/mesa/main/enums.h
index 7733df22f91..8f40694261e 100644
--- a/src/mesa/main/enums.h
+++ b/src/mesa/main/enums.h
@@ -38,8 +38,6 @@
#include "mfeatures.h"
-#if defined(_HAVE_FULL_GL) && _HAVE_FULL_GL
-
extern const char *_mesa_lookup_enum_by_nr( int nr );
/* Get the name of an enum given that it is a primitive type. Avoids
@@ -49,14 +47,4 @@ const char *_mesa_lookup_prim_by_nr( unsigned nr );
extern int _mesa_lookup_enum_by_name( const char *symbol );
-#else
-
-/** No-op */
-#define _mesa_lookup_enum_by_name( s ) 0
-
-/** No-op */
-#define _mesa_lookup_enum_by_nr( n ) "unknown"
-
-#endif
-
#endif