From d1c5970273d53e67b2bcdeb22d202e73ada0d910 Mon Sep 17 00:00:00 2001 From: Vlad Zahorodnii Date: Wed, 7 Apr 2021 20:49:32 +0300 Subject: [PATCH] Fix build --- src/plugins/platforms/drm/drm_output.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/plugins/platforms/drm/drm_output.cpp b/src/plugins/platforms/drm/drm_output.cpp index 6698b53fd2..7c756fa1d2 100644 --- a/src/plugins/platforms/drm/drm_output.cpp +++ b/src/plugins/platforms/drm/drm_output.cpp @@ -200,6 +200,8 @@ static AbstractWaylandOutput::SubPixel drmSubPixelToKWinSubPixel(drmModeSubPixel return AbstractWaylandOutput::SubPixel::Vertical_RGB; case DRM_MODE_SUBPIXEL_VERTICAL_BGR: return AbstractWaylandOutput::SubPixel::Vertical_BGR; + default: + Q_UNREACHABLE(); } }