Skip to content

VERY experimental Nintendo Switch 2 emulator

C++

QT: Hide GLWidget immediately after showing.

James Rowe664f31859340
diff --git a/src/yuzu/bootmanager.cpp b/src/yuzu/bootmanager.cpp
index 087ee8f93b..ea55e68bab 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) {