diff options
author | Lioncash <mathew1800@gmail.com> | 2020-08-27 21:16:47 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2020-08-27 22:11:17 +0200 |
commit | 9e1b0af25907f7a8b960aa5c1e7d931691f40196 (patch) | |
tree | 9bfda0b559cb025da3bc65168d28ee78144daa20 /src/yuzu_cmd/emu_window/emu_window_sdl2_gl.cpp | |
parent | Merge pull request #4530 from Morph1984/mjolnir-p1 (diff) | |
download | yuzu-9e1b0af25907f7a8b960aa5c1e7d931691f40196.tar yuzu-9e1b0af25907f7a8b960aa5c1e7d931691f40196.tar.gz yuzu-9e1b0af25907f7a8b960aa5c1e7d931691f40196.tar.bz2 yuzu-9e1b0af25907f7a8b960aa5c1e7d931691f40196.tar.lz yuzu-9e1b0af25907f7a8b960aa5c1e7d931691f40196.tar.xz yuzu-9e1b0af25907f7a8b960aa5c1e7d931691f40196.tar.zst yuzu-9e1b0af25907f7a8b960aa5c1e7d931691f40196.zip |
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.cpp | 5 |
1 files changed, 3 insertions, 2 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 e78025737..881b67a76 100644 --- a/src/yuzu_cmd/emu_window/emu_window_sdl2_gl.cpp +++ b/src/yuzu_cmd/emu_window/emu_window_sdl2_gl.cpp @@ -87,8 +87,9 @@ bool EmuWindow_SDL2_GL::SupportsRequiredGLExtensions() { return unsupported_ext.empty(); } -EmuWindow_SDL2_GL::EmuWindow_SDL2_GL(Core::System& system, bool fullscreen) - : EmuWindow_SDL2{system, fullscreen} { +EmuWindow_SDL2_GL::EmuWindow_SDL2_GL(Core::System& system, bool fullscreen, + InputCommon::InputSubsystem* input_subsystem) + : EmuWindow_SDL2{system, fullscreen, input_subsystem} { SDL_GL_SetAttribute(SDL_GL_CONTEXT_MAJOR_VERSION, 4); SDL_GL_SetAttribute(SDL_GL_CONTEXT_MINOR_VERSION, 3); SDL_GL_SetAttribute(SDL_GL_CONTEXT_PROFILE_MASK, SDL_GL_CONTEXT_PROFILE_COMPATIBILITY); |