mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 02:28:10 +02:00
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:
parent
d49e66c3ca
commit
9cb6e693c9
1 changed files with 0 additions and 10 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue