[PATCH 7/8] drisw: Wire up GetProcAddress

Adam Jackson ajax at redhat.com
Tue Dec 3 12:14:15 PST 2013


Signed-off-by: Adam Jackson <ajax at redhat.com>
---
 glx/glxdriswrast.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/glx/glxdriswrast.c b/glx/glxdriswrast.c
index c9962dc..d41967f 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;
-- 
1.8.4.2



More information about the xorg-devel mailing list