egl/dri2: Drop some pointless ifdeffery

The fallback is already `return true;`

Signed-off-by: Rob Clark <robdclark@chromium.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7864>
This commit is contained in:
Rob Clark
2020-12-02 09:08:41 -08:00
committed by Marge Bot
parent d49e66c3ca
commit 9cb6e693c9
-10
View File
@@ -183,16 +183,6 @@ dri_is_thread_safe(void *loaderPrivate)
return false;
#endif
#ifdef HAVE_XCB_PLATFORM
if (display->Platform == _EGL_PLATFORM_XCB)
return true;
#endif
#ifdef HAVE_WAYLAND_PLATFORM
if (display->Platform == _EGL_PLATFORM_WAYLAND)
return true;
#endif
return true;
}