From 97e8827eb2f6097ab55531589039895b24429390 Mon Sep 17 00:00:00 2001 From: Cameron Cawley Date: Sat, 30 Sep 2017 19:03:52 +0100 Subject: [PATCH] Qt: Fix building without OpenGL --- src/platform/qt/Window.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/platform/qt/Window.h b/src/platform/qt/Window.h index 0bd06eda7..b656794ed 100644 --- a/src/platform/qt/Window.h +++ b/src/platform/qt/Window.h @@ -191,7 +191,9 @@ private: QMenu* m_videoLayers; QMenu* m_audioChannels; ShortcutController* m_shortcutController; +#if defined(BUILD_GL) || defined(BUILD_GLES) std::unique_ptr m_shaderView; +#endif bool m_fullscreenOnStart = false; QTimer m_focusCheck; bool m_autoresume = false;