summaryrefslogtreecommitdiffstats
path: root/src/yuzu_cmd/emu_window/emu_window_sdl2_gl.cpp
diff options
context:
space:
mode:
authorlat9nq <22451773+lat9nq@users.noreply.github.com>2021-07-30 16:43:58 +0200
committerlat9nq <22451773+lat9nq@users.noreply.github.com>2021-07-30 16:43:58 +0200
commit335de3fdf584de939adebb99c4b960b564a406d5 (patch)
treedf21d0f3663507aafb2d2e39ac0c1e22c819df5b /src/yuzu_cmd/emu_window/emu_window_sdl2_gl.cpp
parentMerge pull request #6767 from ReinUsesLisp/fold-float-pack (diff)
downloadyuzu-335de3fdf584de939adebb99c4b960b564a406d5.tar
yuzu-335de3fdf584de939adebb99c4b960b564a406d5.tar.gz
yuzu-335de3fdf584de939adebb99c4b960b564a406d5.tar.bz2
yuzu-335de3fdf584de939adebb99c4b960b564a406d5.tar.lz
yuzu-335de3fdf584de939adebb99c4b960b564a406d5.tar.xz
yuzu-335de3fdf584de939adebb99c4b960b564a406d5.tar.zst
yuzu-335de3fdf584de939adebb99c4b960b564a406d5.zip
Diffstat (limited to '')
-rw-r--r--src/yuzu_cmd/emu_window/emu_window_sdl2_gl.cpp5
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 eadb41790..5b98c255b 100644
--- a/src/yuzu_cmd/emu_window/emu_window_sdl2_gl.cpp
+++ b/src/yuzu_cmd/emu_window/emu_window_sdl2_gl.cpp
@@ -76,8 +76,9 @@ bool EmuWindow_SDL2_GL::SupportsRequiredGLExtensions() {
return unsupported_ext.empty();
}
-EmuWindow_SDL2_GL::EmuWindow_SDL2_GL(InputCommon::InputSubsystem* input_subsystem, bool fullscreen)
- : EmuWindow_SDL2{input_subsystem} {
+EmuWindow_SDL2_GL::EmuWindow_SDL2_GL(InputCommon::InputSubsystem* input_subsystem,
+ Core::System& system_, bool fullscreen)
+ : 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);