Signed-off-by: Adam Jackson <[email protected]>
---
 glx/glxdriswrast.c |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/glx/glxdriswrast.c b/glx/glxdriswrast.c
index ed142c1..5c123a2 100644
--- a/glx/glxdriswrast.c
+++ b/glx/glxdriswrast.c
@@ -444,6 +444,14 @@ __glXDRIscreenProbe(ScreenPtr pScreen)
                                    (void **)&screen->swrast,
                                    __DRI_SWRAST, __DRI_SWRAST_VERSION);
     if (screen->driver == NULL) {
+       driverName = "swrastg";
+       screen->driver = glxProbeDriver(driverName,
+                                       (void **)&screen->core,
+                                       __DRI_CORE, __DRI_CORE_VERSION,
+                                       (void **)&screen->swrast,
+                                       __DRI_SWRAST, __DRI_SWRAST_VERSION);
+    }
+    if (screen->driver == NULL) {
         goto handle_error;
     }
 
-- 
1.7.4.4

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to