mirror of
https://src.fedoraproject.org/rpms/mesa.git
synced 2024-11-28 02:54:51 +00:00
27 lines
911 B
Diff
27 lines
911 B
Diff
|
diff --git a/src/egl/main/eglapi.c b/src/egl/main/eglapi.c
|
||
|
index d50be23e871..e3697622635 100644
|
||
|
--- a/src/egl/main/eglapi.c
|
||
|
+++ b/src/egl/main/eglapi.c
|
||
|
@@ -695,17 +695,21 @@ eglInitialize(EGLDisplay dpy, EGLint *major, EGLint *minor)
|
||
|
if (disp->Options.ForceSoftware)
|
||
|
RETURN_EGL_ERROR(disp, EGL_NOT_INITIALIZED, EGL_FALSE);
|
||
|
else {
|
||
|
+#if 0
|
||
|
bool success = false;
|
||
|
if (!disp->Options.Zink && !getenv("GALLIUM_DRIVER")) {
|
||
|
disp->Options.Zink = EGL_TRUE;
|
||
|
success = _eglDriver.Initialize(disp);
|
||
|
}
|
||
|
if (!success) {
|
||
|
+#endif
|
||
|
disp->Options.Zink = EGL_FALSE;
|
||
|
disp->Options.ForceSoftware = EGL_TRUE;
|
||
|
if (!_eglDriver.Initialize(disp))
|
||
|
RETURN_EGL_ERROR(disp, EGL_NOT_INITIALIZED, EGL_FALSE);
|
||
|
+#if 0
|
||
|
}
|
||
|
+#endif
|
||
|
}
|
||
|
}
|
||
|
|