st/mesa: query shader CAPs for tessellation
[mesa.git] / src / mesa / state_tracker / st_cb_drawtex.h
index a3f54a349ccb49092aa68a8da655376ebaa7e4e4..e849646a7cbaad686544ce4f5a93b72cc159ac7b 100644 (file)
@@ -1,6 +1,6 @@
 /**************************************************************************
  * 
- * Copyright 2008 Tungsten Graphics, Inc., Cedar Park, Texas.
+ * Copyright 2008 VMware, Inc.
  * All Rights Reserved.
  *
  **************************************************************************/
 #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 */