X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fmesa%2Fmain%2Fdrawtex.h;h=28e2435c8a87ee26193c4eb3000039b39939c452;hb=5bebd7099ab22c6f1498cd928170561718d6ff36;hp=95f4ac86f075b4d63e66a60bad2a752142356845;hpb=bcc13b74443137043e8a34f8cb64a5add0d8af93;p=mesa.git diff --git a/src/mesa/main/drawtex.h b/src/mesa/main/drawtex.h index 95f4ac86f07..28e2435c8a8 100644 --- a/src/mesa/main/drawtex.h +++ b/src/mesa/main/drawtex.h @@ -25,33 +25,26 @@ #define DRAWTEX_H -#include "main/mtypes.h" +#include "glheader.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); +_mesa_DrawTexfOES(GLfloat x, GLfloat y, GLfloat z, GLfloat width, GLfloat height); extern void GLAPIENTRY -_mesa_DrawTexfv(const GLfloat *coords); +_mesa_DrawTexfvOES(const GLfloat *coords); extern void GLAPIENTRY -_mesa_DrawTexi(GLint x, GLint y, GLint z, GLint width, GLint height); +_mesa_DrawTexiOES(GLint x, GLint y, GLint z, GLint width, GLint height); extern void GLAPIENTRY -_mesa_DrawTexiv(const GLint *coords); +_mesa_DrawTexivOES(const GLint *coords); extern void GLAPIENTRY -_mesa_DrawTexs(GLshort x, GLshort y, GLshort z, GLshort width, GLshort height); +_mesa_DrawTexsOES(GLshort x, GLshort y, GLshort z, GLshort width, GLshort height); extern void GLAPIENTRY -_mesa_DrawTexsv(const GLshort *coords); +_mesa_DrawTexsvOES(const GLshort *coords); extern void GLAPIENTRY _mesa_DrawTexx(GLfixed x, GLfixed y, GLfixed z, GLfixed width, GLfixed height); @@ -59,11 +52,5 @@ _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 */ - #endif /* DRAWTEX_H */