summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJames Rowe <jroweboy@gmail.com>2019-01-22 00:21:44 +0100
committerJames Rowe <jroweboy@gmail.com>2019-01-22 00:21:44 +0100
commit5f2d9f282aa31c9658f044e7095d3ecbe12105eb (patch)
tree7a68d128e70a9ca6569f779f155089d6e9e82066 /src
parentSDL Frontend: Add shared context support (diff)
downloadyuzu-5f2d9f282aa31c9658f044e7095d3ecbe12105eb.tar
yuzu-5f2d9f282aa31c9658f044e7095d3ecbe12105eb.tar.gz
yuzu-5f2d9f282aa31c9658f044e7095d3ecbe12105eb.tar.bz2
yuzu-5f2d9f282aa31c9658f044e7095d3ecbe12105eb.tar.lz
yuzu-5f2d9f282aa31c9658f044e7095d3ecbe12105eb.tar.xz
yuzu-5f2d9f282aa31c9658f044e7095d3ecbe12105eb.tar.zst
yuzu-5f2d9f282aa31c9658f044e7095d3ecbe12105eb.zip
Diffstat (limited to 'src')
-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 087ee8f93..ea55e68ba 100644
--- a/src/yuzu/bootmanager.cpp
+++ b/src/yuzu/bootmanager.cpp
@@ -393,6 +393,8 @@ void GRenderWindow::InitRenderTarget() {
BackupGeometry();
// show causes the window to actually be created and the gl context as well
show();
+ // but we don't want the widget to be shown yet, so immediately hide it
+ hide();
}
void GRenderWindow::CaptureScreenshot(u16 res_scale, const QString& screenshot_path) {