aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texgen.c
diff options
context:
space:
mode:
authorPaul Berry <[email protected]>2012-10-31 14:13:16 -0700
committerPaul Berry <[email protected]>2012-11-06 12:57:46 -0800
commit91b828ea740daa0bff6abb7da03dd18594016091 (patch)
tree23092e8f278c403bd0e6af2f680272e8f634aabc /src/mesa/main/texgen.c
parent98874ec30b3db83454cc55bbdda910a0ec16ff53 (diff)
dispatch: Delete unused init_dispatch functions.
The new code-generated version of _mesa_create_exec_table() populates the entire dispatch table (except for dynamic functions) by itself; it no longer calls separate functions to initialize parts of the dispatch table. This patch removes those no-longer-needed functions. Reviewed-by: Jordan Justen <[email protected]> Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/mesa/main/texgen.c')
-rw-r--r--src/mesa/main/texgen.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/mesa/main/texgen.c b/src/mesa/main/texgen.c
index 33154698a2c..7c9c2a76023 100644
--- a/src/mesa/main/texgen.c
+++ b/src/mesa/main/texgen.c
@@ -421,20 +421,3 @@ _mesa_GetTexGeniv( GLenum coord, GLenum pname, GLint *params )
_mesa_error( ctx, GL_INVALID_ENUM, "glGetTexGeniv(pname)" );
}
}
-
-
-void
-_mesa_init_texgen_dispatch(struct gl_context *ctx, struct _glapi_table *disp)
-{
- SET_GetTexGenfv(disp, _mesa_GetTexGenfv);
- SET_GetTexGeniv(disp, _mesa_GetTexGeniv);
- SET_TexGenf(disp, _mesa_TexGenf);
- SET_TexGenfv(disp, _mesa_TexGenfv);
- SET_TexGeni(disp, _mesa_TexGeni);
- SET_TexGeniv(disp, _mesa_TexGeniv);
- if (ctx->API == API_OPENGL) {
- SET_GetTexGendv(disp, _mesa_GetTexGendv);
- SET_TexGend(disp, _mesa_TexGend);
- SET_TexGendv(disp, _mesa_TexGendv);
- }
-}