summaryrefslogtreecommitdiffstats
path: root/src/yuzu/bootmanager.cpp
diff options
context:
space:
mode:
authorAlexander Orzechowski <alex@ozal.ski>2022-12-13 20:39:03 +0100
committerAlexander Orzechowski <alex@ozal.ski>2022-12-13 21:01:51 +0100
commit09e3029c1118616394e5e9c45dfcdd4adcdf86ad (patch)
tree652f0490e20ecd253171c43cc7a9271712793be5 /src/yuzu/bootmanager.cpp
parentOpenGL: Check for threading support (diff)
downloadyuzu-09e3029c1118616394e5e9c45dfcdd4adcdf86ad.tar
yuzu-09e3029c1118616394e5e9c45dfcdd4adcdf86ad.tar.gz
yuzu-09e3029c1118616394e5e9c45dfcdd4adcdf86ad.tar.bz2
yuzu-09e3029c1118616394e5e9c45dfcdd4adcdf86ad.tar.lz
yuzu-09e3029c1118616394e5e9c45dfcdd4adcdf86ad.tar.xz
yuzu-09e3029c1118616394e5e9c45dfcdd4adcdf86ad.tar.zst
yuzu-09e3029c1118616394e5e9c45dfcdd4adcdf86ad.zip
Diffstat (limited to 'src/yuzu/bootmanager.cpp')
-rw-r--r--src/yuzu/bootmanager.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/yuzu/bootmanager.cpp b/src/yuzu/bootmanager.cpp
index 0ba7fff7a..1a47fb9c9 100644
--- a/src/yuzu/bootmanager.cpp
+++ b/src/yuzu/bootmanager.cpp
@@ -314,6 +314,8 @@ GRenderWindow::GRenderWindow(GMainWindow* parent, EmuThread* emu_thread_,
input_subsystem->Initialize();
this->setMouseTracking(true);
+ strict_context_required = QGuiApplication::platformName() == QStringLiteral("wayland");
+
connect(this, &GRenderWindow::FirstFrameDisplayed, parent, &GMainWindow::OnLoadComplete);
connect(this, &GRenderWindow::ExecuteProgramSignal, parent, &GMainWindow::OnExecuteProgram,
Qt::QueuedConnection);