diff options
author | Morph <39850852+Morph1984@users.noreply.github.com> | 2022-06-13 21:41:36 +0200 |
---|---|---|
committer | Morph <39850852+Morph1984@users.noreply.github.com> | 2022-06-14 00:19:23 +0200 |
commit | 69d92a19a53d214e0087aa5e18d274ea57e4d57c (patch) | |
tree | 931e6c86752c259298241452441ed93d225b57e8 /src/yuzu_cmd/emu_window/emu_window_sdl2_gl.cpp | |
parent | audio_core: Remove -Werror=unused-parameter (diff) | |
download | yuzu-69d92a19a53d214e0087aa5e18d274ea57e4d57c.tar yuzu-69d92a19a53d214e0087aa5e18d274ea57e4d57c.tar.gz yuzu-69d92a19a53d214e0087aa5e18d274ea57e4d57c.tar.bz2 yuzu-69d92a19a53d214e0087aa5e18d274ea57e4d57c.tar.lz yuzu-69d92a19a53d214e0087aa5e18d274ea57e4d57c.tar.xz yuzu-69d92a19a53d214e0087aa5e18d274ea57e4d57c.tar.zst yuzu-69d92a19a53d214e0087aa5e18d274ea57e4d57c.zip |
Diffstat (limited to '')
-rw-r--r-- | src/yuzu_cmd/emu_window/emu_window_sdl2_gl.cpp | 4 |
1 files changed, 2 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 8075c9082..9b660c13c 100644 --- a/src/yuzu_cmd/emu_window/emu_window_sdl2_gl.cpp +++ b/src/yuzu_cmd/emu_window/emu_window_sdl2_gl.cpp @@ -73,9 +73,9 @@ bool EmuWindow_SDL2_GL::SupportsRequiredGLExtensions() { return unsupported_ext.empty(); } -EmuWindow_SDL2_GL::EmuWindow_SDL2_GL(InputCommon::InputSubsystem* input_subsystem, +EmuWindow_SDL2_GL::EmuWindow_SDL2_GL(InputCommon::InputSubsystem* input_subsystem_, Core::System& system_, bool fullscreen) - : EmuWindow_SDL2{input_subsystem, system_} { + : EmuWindow_SDL2{input_subsystem_, system_} { SDL_GL_SetAttribute(SDL_GL_CONTEXT_MAJOR_VERSION, 4); SDL_GL_SetAttribute(SDL_GL_CONTEXT_MINOR_VERSION, 6); SDL_GL_SetAttribute(SDL_GL_CONTEXT_PROFILE_MASK, SDL_GL_CONTEXT_PROFILE_COMPATIBILITY); |