diff options
Diffstat (limited to 'src/yuzu_cmd/yuzu.cpp')
| -rw-r--r-- | src/yuzu_cmd/yuzu.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/yuzu_cmd/yuzu.cpp b/src/yuzu_cmd/yuzu.cpp index d3734927b..5d9442646 100644 --- a/src/yuzu_cmd/yuzu.cpp +++ b/src/yuzu_cmd/yuzu.cpp | |||
| @@ -31,6 +31,7 @@ | |||
| 31 | #include "video_core/renderer_base.h" | 31 | #include "video_core/renderer_base.h" |
| 32 | #include "yuzu_cmd/config.h" | 32 | #include "yuzu_cmd/config.h" |
| 33 | #include "yuzu_cmd/emu_window/emu_window_sdl2.h" | 33 | #include "yuzu_cmd/emu_window/emu_window_sdl2.h" |
| 34 | #include "yuzu_cmd/emu_window/emu_window_sdl2_gl.h" | ||
| 34 | 35 | ||
| 35 | #include "core/file_sys/registered_cache.h" | 36 | #include "core/file_sys/registered_cache.h" |
| 36 | 37 | ||
| @@ -173,7 +174,7 @@ int main(int argc, char** argv) { | |||
| 173 | Settings::values.use_gdbstub = use_gdbstub; | 174 | Settings::values.use_gdbstub = use_gdbstub; |
| 174 | Settings::Apply(); | 175 | Settings::Apply(); |
| 175 | 176 | ||
| 176 | std::unique_ptr<EmuWindow_SDL2> emu_window{std::make_unique<EmuWindow_SDL2>(fullscreen)}; | 177 | std::unique_ptr<EmuWindow_SDL2> emu_window{std::make_unique<EmuWindow_SDL2_GL>(fullscreen)}; |
| 177 | 178 | ||
| 178 | if (!Settings::values.use_multi_core) { | 179 | if (!Settings::values.use_multi_core) { |
| 179 | // Single core mode must acquire OpenGL context for entire emulation session | 180 | // Single core mode must acquire OpenGL context for entire emulation session |