From: Kristian Høgsberg Date: Mon, 26 Apr 2010 13:55:41 +0000 (-0400) Subject: mesa: Drop unused _mesa_init_drawtex_dispatch() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=12c46b15d70ccb6d39d5f5c1a3ddfb0cf929f719;p=mesa.git mesa: Drop unused _mesa_init_drawtex_dispatch() --- diff --git a/src/mesa/main/drawtex.c b/src/mesa/main/drawtex.c index d24ca4ca5bb..86d5b555e0f 100644 --- a/src/mesa/main/drawtex.c +++ b/src/mesa/main/drawtex.c @@ -130,19 +130,4 @@ _mesa_DrawTexxv(const GLfixed *coords) (GLfloat) coords[4] / 65536.0f); } - -void -_mesa_init_drawtex_dispatch(struct _glapi_table *disp) -{ - SET_DrawTexfOES(disp, _mesa_DrawTexf); - SET_DrawTexfvOES(disp, _mesa_DrawTexfv); - SET_DrawTexiOES(disp, _mesa_DrawTexi); - SET_DrawTexivOES(disp, _mesa_DrawTexiv); - SET_DrawTexsOES(disp, _mesa_DrawTexs); - SET_DrawTexsvOES(disp, _mesa_DrawTexsv); - SET_DrawTexxOES(disp, _mesa_DrawTexx); - SET_DrawTexxvOES(disp, _mesa_DrawTexxv); -} - - #endif /* FEATURE_OES_draw_texture */ diff --git a/src/mesa/main/drawtex.h b/src/mesa/main/drawtex.h index 0f3bac38c77..95f4ac86f07 100644 --- a/src/mesa/main/drawtex.h +++ b/src/mesa/main/drawtex.h @@ -59,18 +59,10 @@ _mesa_DrawTexx(GLfixed x, GLfixed y, GLfixed z, GLfixed width, GLfixed 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 */