summaryrefslogtreecommitdiff
path: root/dist/Mesa
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2012-11-11 12:18:32 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2012-11-11 12:18:32 +0000
commite0ec3b3335e3f2b6461f6c9510f10dabbb381d94 (patch)
tree509f56b6918eea854513735789c39c4c7b0965cd /dist/Mesa
parenta2f9e4985e2f3317cf670556692f4265a7bc60f7 (diff)
Try to load the gallium3d "swrastg" driver if available before falling back
to the default mesa "swrast" one for software rendering. ok matthieu@
Diffstat (limited to 'dist/Mesa')
-rw-r--r--dist/Mesa/src/glx/drisw_glx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dist/Mesa/src/glx/drisw_glx.c b/dist/Mesa/src/glx/drisw_glx.c
index 30fe0536b..a431bf4a7 100644
--- a/dist/Mesa/src/glx/drisw_glx.c
+++ b/dist/Mesa/src/glx/drisw_glx.c
@@ -430,10 +430,10 @@ driOpenSwrast(void)
void *driver = NULL;
if (driver == NULL)
- driver = driOpenDriver("swrast");
+ driver = driOpenDriver("swrastg");
if (driver == NULL)
- driver = driOpenDriver("swrastg");
+ driver = driOpenDriver("swrast");
return driver;
}