summaryrefslogtreecommitdiff
path: root/src/mesa/main/state.c
diff options
context:
space:
mode:
authorIan Romanick <idr@us.ibm.com>2003-08-22 23:28:03 +0000
committerIan Romanick <idr@us.ibm.com>2003-08-22 23:28:03 +0000
commit3baefe663bb15b4fd60921155de38c12ec2758c4 (patch)
tree8326c63a644be8819990c041a912c117d68500d4 /src/mesa/main/state.c
parent5df82c82bd53db90eb72c5aad4dd20cf6f1116b1 (diff)
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.
Diffstat (limited to 'src/mesa/main/state.c')
-rw-r--r--src/mesa/main/state.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mesa/main/state.c b/src/mesa/main/state.c
index b8eb080f6a..7b53519371 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;