mesa: replace ctx->Const.{Vertex,Fragment,Geomtery}Program with an array.
[mesa.git] / src / mesa / state_tracker / st_cb_drawtex.h
index a3f54a349ccb49092aa68a8da655376ebaa7e4e4..9794ccc15c09c4a113ac1b5e6e977d651b1ee887 100644 (file)
 #define ST_CB_DRAWTEX_H
 
 
-#include "main/mtypes.h"
+#include "main/compiler.h"
 
-#if FEATURE_OES_draw_texture
+struct dd_function_table;
+struct st_context;
 
 extern void
 st_init_drawtex_functions(struct dd_function_table *functions);
@@ -20,18 +21,4 @@ st_init_drawtex_functions(struct dd_function_table *functions);
 extern void
 st_destroy_drawtex(struct st_context *st);
 
-#else
-
-static INLINE void
-st_init_drawtex_functions(struct dd_function_table *functions)
-{
-}
-
-static INLINE void
-st_destroy_drawtex(struct st_context *st)
-{
-}
-
-#endif /* FEATURE_OES_draw_texture */
-
 #endif /* ST_CB_DRAWTEX_H */