From 3baefe663bb15b4fd60921155de38c12ec2758c4 Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Fri, 22 Aug 2003 23:28:03 +0000 Subject: Added support for GL_IBM_multimode_draw_arrays. Added non-static entrypoints and the name string for GL_SUN_multi_draw_arrays (identical to GL_EXT_multi_draw_arrays). Made add_newer_entrypoints (in src/mesa/main/context.c) table driven. This reduced the size of context.o by about 3KB. --- src/mesa/main/state.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/mesa/main/state.c') diff --git a/src/mesa/main/state.c b/src/mesa/main/state.c index b8eb080f6a2..7b535193717 100644 --- a/src/mesa/main/state.c +++ b/src/mesa/main/state.c @@ -536,6 +536,12 @@ _mesa_init_exec_table(struct _glapi_table *exec, GLuint tableSize) exec->WindowPos4svMESA = _mesa_WindowPos4svMESA; #endif + /* 200. GL_IBM_multimode_draw_arrays */ +#if _HAVE_FULL_GL + exec->MultiModeDrawArraysIBM = _mesa_MultiModeDrawArraysIBM; + exec->MultiModeDrawElementsIBM = _mesa_MultiModeDrawElementsIBM; +#endif + /* 233. GL_NV_vertex_program */ #if FEATURE_NV_vertex_program exec->BindProgramNV = _mesa_BindProgramNV; -- cgit v1.2.3