aboutsummaryrefslogtreecommitdiff
path: root/src/yuzu_cmd/emu_window/emu_window_sdl2_gl.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2021-02-14 00:20:41 -0800
committerbunnei <bunneidev@gmail.com>2021-02-14 00:20:41 -0800
commiteae9f2e4404f6bdf8a192bc9c09e53cd87e4359d (patch)
tree3f5cfe0d7067853437249cd167e79d9299c984b1 /src/yuzu_cmd/emu_window/emu_window_sdl2_gl.cpp
parent0bbf5e61f107ce6b54078ec30504034ab9af5596 (diff)
yuzu: Various frontend improvements to avoid crashes and improve experience on Linux.
Diffstat (limited to 'src/yuzu_cmd/emu_window/emu_window_sdl2_gl.cpp')
-rw-r--r--src/yuzu_cmd/emu_window/emu_window_sdl2_gl.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/yuzu_cmd/emu_window/emu_window_sdl2_gl.cpp b/src/yuzu_cmd/emu_window/emu_window_sdl2_gl.cpp
index deddea9ee..a02485c14 100644
--- a/src/yuzu_cmd/emu_window/emu_window_sdl2_gl.cpp
+++ b/src/yuzu_cmd/emu_window/emu_window_sdl2_gl.cpp
@@ -107,6 +107,8 @@ EmuWindow_SDL2_GL::EmuWindow_SDL2_GL(InputCommon::InputSubsystem* input_subsyste
dummy_window = SDL_CreateWindow(NULL, SDL_WINDOWPOS_UNDEFINED, SDL_WINDOWPOS_UNDEFINED, 0, 0,
SDL_WINDOW_HIDDEN | SDL_WINDOW_OPENGL);
+ SetWindowIcon();
+
if (fullscreen) {
Fullscreen();
}