diff options
| author | 2018-11-17 18:04:50 -0400 | |
|---|---|---|
| committer | 2018-11-21 11:43:17 -0400 | |
| commit | 377c60645c493aabff83eaa245f3431a261657cd (patch) | |
| tree | badca5bb43114406004a09d610e1d8c959fffad8 /src/yuzu_cmd/emu_window/emu_window_sdl2.cpp | |
| parent | Merge pull request #1667 from DarkLordZach/swkbd (diff) | |
| download | yuzu-377c60645c493aabff83eaa245f3431a261657cd.tar.gz yuzu-377c60645c493aabff83eaa245f3431a261657cd.tar.xz yuzu-377c60645c493aabff83eaa245f3431a261657cd.zip | |
Update OpenGL's backend version from 3.3 to 4.3
Diffstat (limited to 'src/yuzu_cmd/emu_window/emu_window_sdl2.cpp')
| -rw-r--r-- | src/yuzu_cmd/emu_window/emu_window_sdl2.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/yuzu_cmd/emu_window/emu_window_sdl2.cpp b/src/yuzu_cmd/emu_window/emu_window_sdl2.cpp index a9ad92a80..d53d2e3ce 100644 --- a/src/yuzu_cmd/emu_window/emu_window_sdl2.cpp +++ b/src/yuzu_cmd/emu_window/emu_window_sdl2.cpp | |||
| @@ -157,7 +157,7 @@ EmuWindow_SDL2::EmuWindow_SDL2(bool fullscreen) { | |||
| 157 | exit(1); | 157 | exit(1); |
| 158 | } | 158 | } |
| 159 | 159 | ||
| 160 | SDL_GL_SetAttribute(SDL_GL_CONTEXT_MAJOR_VERSION, 3); | 160 | SDL_GL_SetAttribute(SDL_GL_CONTEXT_MAJOR_VERSION, 4); |
| 161 | SDL_GL_SetAttribute(SDL_GL_CONTEXT_MINOR_VERSION, 3); | 161 | SDL_GL_SetAttribute(SDL_GL_CONTEXT_MINOR_VERSION, 3); |
| 162 | SDL_GL_SetAttribute(SDL_GL_CONTEXT_PROFILE_MASK, SDL_GL_CONTEXT_PROFILE_CORE); | 162 | SDL_GL_SetAttribute(SDL_GL_CONTEXT_PROFILE_MASK, SDL_GL_CONTEXT_PROFILE_CORE); |
| 163 | SDL_GL_SetAttribute(SDL_GL_DOUBLEBUFFER, 1); | 163 | SDL_GL_SetAttribute(SDL_GL_DOUBLEBUFFER, 1); |