diff options
Diffstat (limited to 'src/egl/main')
-rw-r--r-- | src/egl/main/egldisplay.h | 2 | ||||
-rw-r--r-- | src/egl/main/egldriver.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/egl/main/egldisplay.h b/src/egl/main/egldisplay.h index 0005c81836d..addf430ffed 100644 --- a/src/egl/main/egldisplay.h +++ b/src/egl/main/egldisplay.h @@ -160,7 +160,7 @@ struct _egl_display /* options that affect how the driver initializes the display */ struct { - EGLBoolean UseFallback; /**< Use fallback driver (sw or less features) */ + EGLBoolean ForceSoftware; /**< Use software path only */ void *Platform; /**< Platform-specific options */ } Options; 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); } |