Some initial RGB and RGBA floating point texture formats.
[mesa.git] / src / mesa / main / enums.h
index 6a8591725303d8e81f9f77a5e6c4de83985d408f..1e7b86e3a09d86397049bd139c20ad795eb42f69 100644 (file)
@@ -1,4 +1,12 @@
-/* $Id: enums.h,v 1.3 2001/03/12 00:48:37 gareth Exp $ */
+/**
+ * \file enums.h
+ * Enumeration name/number lookup functions.
+ * 
+ * \if subset
+ * (No-op)
+ *
+ * \endif
+ */
 
 /*
  * Mesa 3-D graphics library
 #ifndef _ENUMS_H_
 #define _ENUMS_H_
 
+
+#if _HAVE_FULL_GL
+
 extern const char *_mesa_lookup_enum_by_nr( int 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