Module: Mesa Branch: master Commit: 9cb6e693c911b1119efe8dd727b10bdeab908779 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9cb6e693c911b1119efe8dd727b10bdeab908779
Author: Rob Clark <[email protected]> Date: Wed Dec 2 09:08:41 2020 -0800 egl/dri2: Drop some pointless ifdeffery The fallback is already `return true;` Signed-off-by: Rob Clark <[email protected]> Reviewed-by: Eric Anholt <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7864> --- src/egl/drivers/dri2/egl_dri2.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/egl/drivers/dri2/egl_dri2.c b/src/egl/drivers/dri2/egl_dri2.c index 337889781d2..89fc1c8997e 100644 --- a/src/egl/drivers/dri2/egl_dri2.c +++ b/src/egl/drivers/dri2/egl_dri2.c @@ -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; } _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
