summaryrefslogtreecommitdiffstats
path: root/src/egl/main/egldriver.c
diff options
context:
space:
mode:
authorEric Engestrom <[email protected]>2017-12-20 15:53:09 +0000
committerEmil Velikov <[email protected]>2017-12-27 22:31:50 +0000
commit81cea66ff1c4d7c2c5167715ff9968754a58bfd1 (patch)
tree7cae72bb352bc9496e3fd3ca0da38c3198ac146a /src/egl/main/egldriver.c
parent2f421651aca9c0a308c8a632d1847bbd0598e294 (diff)
egl: rename LIBGL_ALWAYS_SOFTWARE variable from UseFallback to ForceSoftware
Signed-off-by: Eric Engestrom <[email protected]> Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/egl/main/egldriver.c')
-rw-r--r--src/egl/main/egldriver.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/egl/main/egldriver.c b/src/egl/main/egldriver.c
index 34a90ae5dc5..ee3dc86e388 100644
--- a/src/egl/main/egldriver.c
+++ b/src/egl/main/egldriver.c
@@ -84,12 +84,12 @@ _eglMatchDriver(_EGLDisplay *dpy)
assert(!dpy->Initialized);
/* set options */
- dpy->Options.UseFallback =
+ dpy->Options.ForceSoftware =
env_var_as_boolean("LIBGL_ALWAYS_SOFTWARE", false);
best_drv = _eglMatchAndInitialize(dpy);
if (!best_drv) {
- dpy->Options.UseFallback = EGL_TRUE;
+ dpy->Options.ForceSoftware = EGL_TRUE;
best_drv = _eglMatchAndInitialize(dpy);
}