projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81cea66
)
egl: don't try the software path twice
author
Eric Engestrom
<eric.engestrom@imgtec.com>
Wed, 20 Dec 2017 15:53:10 +0000
(15:53 +0000)
committer
Emil Velikov
<emil.l.velikov@gmail.com>
Wed, 27 Dec 2017 22:31:56 +0000
(22:31 +0000)
Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Reported-by: Brendan King <Brendan.King@imgtec.com>
src/egl/main/egldriver.c
patch
|
blob
|
history
diff --git
a/src/egl/main/egldriver.c
b/src/egl/main/egldriver.c
index
ee3dc86
..
218b3da
100644
(file)
--- a/
src/egl/main/egldriver.c
+++ b/
src/egl/main/egldriver.c
@@
-88,7
+88,7
@@
_eglMatchDriver(_EGLDisplay *dpy)
env_var_as_boolean("LIBGL_ALWAYS_SOFTWARE", false);
best_drv = _eglMatchAndInitialize(dpy);
- if (!best_drv) {
+ if (!best_drv
&& !dpy->Options.ForceSoftware
) {
dpy->Options.ForceSoftware = EGL_TRUE;
best_drv = _eglMatchAndInitialize(dpy);
}