summaryrefslogtreecommitdiff
path: root/GL/glx/g_disptab.c
diff options
context:
space:
mode:
authorIan Romanick <idr@us.ibm.com>2006-01-12 00:21:59 +0000
committerIan Romanick <idr@us.ibm.com>2006-01-12 00:21:59 +0000
commit847d83ec3c90c5b298eaf19ba55251b4a30f4155 (patch)
tree92ad2d46a7d304e5c6362a79d571642bbb94d223 /GL/glx/g_disptab.c
parentc56e9a8849ce8dd5c09732ae1860e409e7886690 (diff)
Bug #2996: libglx / libGLcore should use a dispatch table
Port all changes from the (monolithic) accelerated_indirect-0-0-1 branch to the modular trunk. This will break the Darwin and cygwin builds. Other than the changes to symlink-mesa.sh and the various Makefile.am files, to code is identical to what's in the branch. Reviewed by: airlied, krh
Diffstat (limited to 'GL/glx/g_disptab.c')
-rw-r--r--GL/glx/g_disptab.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/GL/glx/g_disptab.c b/GL/glx/g_disptab.c
index 93a9d628d..c41c45e9f 100644
--- a/GL/glx/g_disptab.c
+++ b/GL/glx/g_disptab.c
@@ -36,6 +36,8 @@
#include "glxserver.h"
#include "glxext.h"
#include "g_disptab.h"
+#include "indirect_dispatch.h"
+
__GLXdispatchSingleProcPtr __glXSingleTable[__GLX_SINGLE_TABLE_SIZE] = {
__glXNoSuchSingleOpcode,
__glXRender,
@@ -431,7 +433,7 @@ __GLXdispatchRenderProcPtr __glXRenderTable[] = {
__glXNoSuchRenderOpcode,
__glXDisp_SampleCoverageARB,
#ifndef MISSING_GL_EXTS
- __glXDisp_WindowPos3fARB /* 230 */
+ __glXDisp_WindowPos3fvMESA /* 230 */
#else
__glXNoSuchRenderOpcode
#endif
@@ -832,7 +834,7 @@ __GLXdispatchRenderProcPtr __glXSwapRenderTable[__GLX_RENDER_TABLE_SIZE] = {
__glXNoSuchRenderOpcode,
__glXDispSwap_SampleCoverageARB,
#ifndef MISSING_GL_EXTS
- __glXDispSwap_WindowPos3fARB /* 230 */
+ __glXDispSwap_WindowPos3fvMESA /* 230 */
#else
__glXNoSuchRenderOpcode
#endif