Revert "st/mesa: remove unused variables to fix compile warnings"
[mesa.git] / src / mesa / state_tracker / st_cb_drawpixels.h
index 575f169e08e70234e0d3360777fa9e72abb09900..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
 st_destroy_drawpix(struct st_context *st);
 
-#else
-
-static INLINE void
-st_init_drawpixels_functions(struct dd_function_table *functions)
-{
-}
+extern void
+st_make_drawpix_fragment_program(struct st_context *st,
+                                 struct gl_fragment_program *fpIn,
+                                 struct gl_fragment_program **fpOut);
 
-static INLINE void
-st_destroy_drawpix(struct st_context *st)
-{
-}
+extern struct gl_fragment_program *
+st_make_drawpix_z_stencil_program(struct st_context *st,
+                                  GLboolean write_depth,
+                                  GLboolean write_stencil);
 
-#endif /* FEATURE_drawpix */
 
 #endif /* ST_CB_DRAWPIXELS_H */