summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2013-12-03 15:03:13 -0500
committerKeith Packard <keithp@keithp.com>2013-12-10 08:04:19 -0800
commita668aa0e41bc33ff2db7f9c53b6dc321a96926a9 (patch)
tree88b5c1f0feef04e8d63396d3f979b059d5bb0faf
parent4fcdfeb7bc55d00d50d7f89788d9b929946ae3d9 (diff)
drisw: Wire up GetProcAddress
Signed-off-by: Adam Jackson <ajax@redhat.com> Reviewed-by: Keith Packard <keithp@keithp.com>
-rw-r--r--glx/glxdriswrast.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/glx/glxdriswrast.c b/glx/glxdriswrast.c
index 2d5efa03f..cbc109a6d 100644
--- a/glx/glxdriswrast.c
+++ b/glx/glxdriswrast.c
@@ -425,6 +425,9 @@ initializeExtensions(__GLXDRIscreen * screen)
}
}
+/* white lie */
+extern glx_func_ptr glXGetProcAddressARB(const char *);
+
static __GLXscreen *
__glXDRIscreenProbe(ScreenPtr pScreen)
{
@@ -472,6 +475,8 @@ __glXDRIscreenProbe(ScreenPtr pScreen)
screen->base.GLXmajor = 1;
screen->base.GLXminor = 4;
+ __glXsetGetProcAddress(glXGetProcAddressARB);
+
LogMessage(X_INFO, "AIGLX: Loaded and initialized %s\n", driverName);
return &screen->base;