diff options
author | Morph <39850852+Morph1984@users.noreply.github.com> | 2021-07-16 19:07:37 +0200 |
---|---|---|
committer | Morph <39850852+Morph1984@users.noreply.github.com> | 2021-07-20 07:40:18 +0200 |
commit | 747a33a41e11330b18cf3ea43f556d3a2e9ded11 (patch) | |
tree | 4ce200b1620d921eb528d6f785aa3617c9c47f95 | |
parent | file_sys: Support load game collection (#6582) (diff) | |
download | yuzu-747a33a41e11330b18cf3ea43f556d3a2e9ded11.tar yuzu-747a33a41e11330b18cf3ea43f556d3a2e9ded11.tar.gz yuzu-747a33a41e11330b18cf3ea43f556d3a2e9ded11.tar.bz2 yuzu-747a33a41e11330b18cf3ea43f556d3a2e9ded11.tar.lz yuzu-747a33a41e11330b18cf3ea43f556d3a2e9ded11.tar.xz yuzu-747a33a41e11330b18cf3ea43f556d3a2e9ded11.tar.zst yuzu-747a33a41e11330b18cf3ea43f556d3a2e9ded11.zip |
Diffstat (limited to '')
-rw-r--r-- | src/yuzu/bootmanager.cpp | 6 |
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 bool GRenderWindow::InitRenderTarget() { ReleaseRenderTarget(); + { + // Create a dummy render widget so that Qt + // places the render window at the correct position. + const RenderWidget dummy_widget{this}; + } + first_frame = false; switch (Settings::values.renderer_backend.GetValue()) { |