summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/yuzu/bootmanager.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/yuzu/bootmanager.cpp b/src/yuzu/bootmanager.cpp
index d2103e86f..0ba7fff7a 100644
--- a/src/yuzu/bootmanager.cpp
+++ b/src/yuzu/bootmanager.cpp
@@ -952,6 +952,12 @@ void GRenderWindow::OnMinimalClientAreaChangeRequest(std::pair<u32, u32> minimal
952 952
953bool GRenderWindow::InitializeOpenGL() { 953bool GRenderWindow::InitializeOpenGL() {
954#ifdef HAS_OPENGL 954#ifdef HAS_OPENGL
955 if (!QOpenGLContext::supportsThreadedOpenGL()) {
956 QMessageBox::warning(this, tr("OpenGL not available!"),
957 tr("OpenGL shared contexts are not supported."));
958 return false;
959 }
960
955 // TODO: One of these flags might be interesting: WA_OpaquePaintEvent, WA_NoBackground, 961 // TODO: One of these flags might be interesting: WA_OpaquePaintEvent, WA_NoBackground,
956 // WA_DontShowOnScreen, WA_DeleteOnClose 962 // WA_DontShowOnScreen, WA_DeleteOnClose
957 auto child = new OpenGLRenderWidget(this); 963 auto child = new OpenGLRenderWidget(this);