#define DRAWTEX_H
-#include "main/mtypes.h"
+#include "glheader.h"
+#include "mfeatures.h"
#if FEATURE_OES_draw_texture
-#define _MESA_INIT_DRAWTEX_FUNCTIONS(driver, impl) \
- do { \
- (driver)->DrawTex = impl ## DrawTex; \
- } while (0)
-
extern void GLAPIENTRY
_mesa_DrawTexf(GLfloat x, GLfloat y, GLfloat z, GLfloat width, GLfloat height);
extern void GLAPIENTRY
_mesa_DrawTexxv(const GLfixed *coords);
-extern void
-_mesa_init_drawtex_dispatch(struct _glapi_table *disp);
-
-#else /* FEATURE_OES_draw_texture */
-
-#define _MESA_INIT_DRAWTEX_FUNCTIONS(driver, impl) do { } while (0)
-
-static INLINE void
-_mesa_init_drawtex_dispatch(struct _glapi_table *disp)
-{
-}
-
#endif /* FEATURE_OES_draw_texture */