diff options
author | bunnei <bunneidev@gmail.com> | 2021-07-20 21:55:48 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-20 21:55:48 +0200 |
commit | 263a201dae9ecb872be3b632d2b9f3a064aff5c6 (patch) | |
tree | 916aeff6d2d5552c12be3feb96266e6d2aa8aab7 | |
parent | Merge pull request #6685 from ReinUsesLisp/radeonsi-client (diff) | |
parent | bootmanager: Create a dummy render widget (diff) | |
download | yuzu-263a201dae9ecb872be3b632d2b9f3a064aff5c6.tar yuzu-263a201dae9ecb872be3b632d2b9f3a064aff5c6.tar.gz yuzu-263a201dae9ecb872be3b632d2b9f3a064aff5c6.tar.bz2 yuzu-263a201dae9ecb872be3b632d2b9f3a064aff5c6.tar.lz yuzu-263a201dae9ecb872be3b632d2b9f3a064aff5c6.tar.xz yuzu-263a201dae9ecb872be3b632d2b9f3a064aff5c6.tar.zst yuzu-263a201dae9ecb872be3b632d2b9f3a064aff5c6.zip |
-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()) { |