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 bfae73b60..d72ca5acc 100644
--- a/src/yuzu/bootmanager.cpp
+++ b/src/yuzu/bootmanager.cpp
@@ -567,6 +567,12 @@ std::unique_ptr<Core::Frontend::GraphicsContext> GRenderWindow::CreateSharedCont
567bool GRenderWindow::InitRenderTarget() { 567bool GRenderWindow::InitRenderTarget() {
568 ReleaseRenderTarget(); 568 ReleaseRenderTarget();
569 569
570 {
571 // Create a dummy render widget so that Qt
572 // places the render window at the correct position.
573 const RenderWidget dummy_widget{this};
574 }
575
570 first_frame = false; 576 first_frame = false;
571 577
572 switch (Settings::values.renderer_backend.GetValue()) { 578 switch (Settings::values.renderer_backend.GetValue()) {