mesa: remove FEATURE_remap_table from remap.[ch]
authorBrian Paul <brianp@vmware.com>
Wed, 17 Apr 2013 15:49:39 +0000 (09:49 -0600)
committerBrian Paul <brianp@vmware.com>
Wed, 17 Apr 2013 23:33:39 +0000 (17:33 -0600)
It was always defined.

Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
src/mesa/main/remap.c
src/mesa/main/remap.h

index a098705612e0948a0ce9a504f090a367527cdcf6..bc4ac9b8f727ea5f34e132690a820d0e0c129aa2 100644 (file)
@@ -37,9 +37,6 @@
  */
 
 #include "mfeatures.h"
-
-#if FEATURE_remap_table
-
 #include "remap.h"
 #include "imports.h"
 #include "glapi/glapi.h"
@@ -223,6 +220,3 @@ _mesa_init_remap_table(void)
                             driDispatchRemapTable_size,
                             MESA_remap_table_functions);
 }
-
-
-#endif /* FEATURE_remap_table */
index fa317248788c189ca6be8cd42c4212fc9228da38..6f20c3e5dc52c1283a5f202ce279631b10971f39 100644 (file)
@@ -42,8 +42,6 @@ struct gl_function_remap {
 };
 
 
-#if FEATURE_remap_table
-
 extern int
 driDispatchRemapTable[];
 
@@ -62,37 +60,5 @@ _mesa_map_static_functions(void);
 extern void
 _mesa_init_remap_table(void);
 
-#else /* FEATURE_remap_table */
-
-static inline const char *
-_mesa_get_function_spec(int func_index)
-{
-   return NULL;
-}
-
-static inline int
-_mesa_map_function_spec(const char *spec)
-{
-   return -1;
-}
-
-static inline void
-_mesa_map_function_array(const struct gl_function_remap *func_array)
-{
-}
-
-static inline void
-_mesa_map_static_functions(void)
-{
-}
-
-
-static inline void
-_mesa_init_remap_table(void)
-{
-}
-
-#endif /* FEATURE_remap_table */
-
 
 #endif /* REMAP_H */