mesa/es: Remove redundant light pname and light validation
[mesa.git] / src / mesa / main / drawtex.h
index 95f4ac86f075b4d63e66a60bad2a752142356845..13ff6f97e9e12656433bdc73186bd5e49804d0db 100644 (file)
 #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);
 
@@ -59,10 +55,6 @@ _mesa_DrawTexx(GLfixed x, GLfixed y, GLfixed z, GLfixed width, GLfixed height);
 extern void GLAPIENTRY
 _mesa_DrawTexxv(const GLfixed *coords);
 
-#else /* FEATURE_OES_draw_texture */
-
-#define _MESA_INIT_DRAWTEX_FUNCTIONS(driver, impl) do { } while (0)
-
 #endif /* FEATURE_OES_draw_texture */