egl: pass real value for software to dri2_setup_device()
this was otherwise breaking zink Fixes: 991cc686a5f (egl: really fix kopper fd passing) Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30647>
This commit is contained in:
committed by
Marge Bot
parent
7deb96a5f9
commit
b38480d6c7
@@ -2989,7 +2989,7 @@ dri2_initialize_wayland_swrast(_EGLDisplay *disp)
|
||||
if (!dri2_create_screen(disp))
|
||||
goto cleanup;
|
||||
|
||||
if (!dri2_setup_device(disp, true)) {
|
||||
if (!dri2_setup_device(disp, disp->Options.ForceSoftware)) {
|
||||
_eglError(EGL_NOT_INITIALIZED, "DRI2: failed to setup EGLDevice");
|
||||
goto cleanup;
|
||||
}
|
||||
|
||||
@@ -1840,7 +1840,7 @@ dri2_initialize_x11_swrast(_EGLDisplay *disp)
|
||||
if (!dri2_create_screen(disp))
|
||||
goto cleanup;
|
||||
|
||||
if (!dri2_setup_device(disp, true)) {
|
||||
if (!dri2_setup_device(disp, disp->Options.ForceSoftware)) {
|
||||
_eglError(EGL_NOT_INITIALIZED, "DRI2: failed to setup EGLDevice");
|
||||
goto cleanup;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user