From 12c46b15d70ccb6d39d5f5c1a3ddfb0cf929f719 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Kristian=20H=C3=B8gsberg?= Date: Mon, 26 Apr 2010 09:55:41 -0400 Subject: [PATCH] mesa: Drop unused _mesa_init_drawtex_dispatch() --- src/mesa/main/drawtex.c | 15 --------------- src/mesa/main/drawtex.h | 8 -------- 2 files changed, 23 deletions(-) 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 */ -- 2.30.2