backends/drm: Fix DrmCrtc::queryCurrentMode() accidentally resetting m_crtc to null
Otherwise kwin will likely crash.
(cherry picked from commit 1dbef2d5)
Co-authored-by: Vlad Zahorodnii vlad.zahorodnii@kde.org
Otherwise kwin will likely crash.
(cherry picked from commit 1dbef2d5)
Co-authored-by: Vlad Zahorodnii vlad.zahorodnii@kde.org