Revert "st/mesa: remove unused variables to fix compile warnings"
[mesa.git] / src / mesa / state_tracker / st_cb_drawpixels.h
index 8f73e6262402bb2006bb077f4267a92750b4fc9f..6209dcade34944b0dc6aa36638ea28a867287451 100644 (file)
 
 
 #include "main/compiler.h"
+#include "main/mfeatures.h"
 
 struct dd_function_table;
 struct st_context;
 
-#if FEATURE_drawpix
-
 extern void st_init_drawpixels_functions(struct dd_function_table *functions);
 
 extern void
@@ -52,18 +51,5 @@ st_make_drawpix_z_stencil_program(struct st_context *st,
                                   GLboolean write_depth,
                                   GLboolean write_stencil);
 
-#else
-
-static INLINE void
-st_init_drawpixels_functions(struct dd_function_table *functions)
-{
-}
-
-static INLINE void
-st_destroy_drawpix(struct st_context *st)
-{
-}
-
-#endif /* FEATURE_drawpix */
 
 #endif /* ST_CB_DRAWPIXELS_H */