diff options
author | Eric Engestrom <[email protected]> | 2017-12-20 15:53:10 +0000 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2017-12-27 22:31:56 +0000 |
commit | e5a7ef0013cfd0d9514a04d2be1186b7d41532b7 (patch) | |
tree | 9ff47dc569f353244a2559e4ce163077b27bd6e0 /src/egl | |
parent | 81cea66ff1c4d7c2c5167715ff9968754a58bfd1 (diff) |
egl: don't try the software path twice
Signed-off-by: Eric Engestrom <[email protected]>
Reviewed-by: Emil Velikov <[email protected]>
Reported-by: Brendan King <[email protected]>
Diffstat (limited to 'src/egl')
-rw-r--r-- | src/egl/main/egldriver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/egl/main/egldriver.c b/src/egl/main/egldriver.c index ee3dc86e388..218b3daef25 100644 --- 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); } |