diff options
author | Paul Berry <stereotype441@gmail.com> | 2012-10-31 14:13:16 -0700 |
---|---|---|
committer | Paul Berry <stereotype441@gmail.com> | 2012-11-06 12:57:46 -0800 |
commit | 91b828ea740daa0bff6abb7da03dd18594016091 (patch) | |
tree | 23092e8f278c403bd0e6af2f680272e8f634aabc /src/mesa/main/colortab.c | |
parent | 98874ec30b3db83454cc55bbdda910a0ec16ff53 (diff) | |
download | external_mesa3d-91b828ea740daa0bff6abb7da03dd18594016091.zip external_mesa3d-91b828ea740daa0bff6abb7da03dd18594016091.tar.gz external_mesa3d-91b828ea740daa0bff6abb7da03dd18594016091.tar.bz2 |
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 <jordan.l.justen@intel.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'src/mesa/main/colortab.c')
-rw-r--r-- | src/mesa/main/colortab.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/mesa/main/colortab.c b/src/mesa/main/colortab.c index 9edf4d0..f1b3e58 100644 --- a/src/mesa/main/colortab.c +++ b/src/mesa/main/colortab.c @@ -144,21 +144,3 @@ _mesa_GetColorTableParameteriv( GLenum target, GLenum pname, GLint *params ) ASSERT_OUTSIDE_BEGIN_END(ctx); _mesa_error(ctx, GL_INVALID_ENUM, "glGetColorTableParameteriv(target)"); } - - -void -_mesa_init_colortable_dispatch(struct _glapi_table *disp) -{ - SET_ColorSubTable(disp, _mesa_ColorSubTable); - SET_ColorTable(disp, _mesa_ColorTable); - SET_ColorTableParameterfv(disp, _mesa_ColorTableParameterfv); - SET_ColorTableParameteriv(disp, _mesa_ColorTableParameteriv); - SET_CopyColorSubTable(disp, _mesa_CopyColorSubTable); - SET_CopyColorTable(disp, _mesa_CopyColorTable); - SET_GetColorTable(disp, _mesa_GetColorTable); - SET_GetColorTableParameterfv(disp, _mesa_GetColorTableParameterfv); - SET_GetColorTableParameteriv(disp, _mesa_GetColorTableParameteriv); - - /* GL_ARB_robustness */ - SET_GetnColorTableARB(disp, _mesa_GetnColorTableARB); -} |