diff options
Diffstat (limited to 'ui/applicationBase.cpp')
-rw-r--r-- | ui/applicationBase.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/applicationBase.cpp b/ui/applicationBase.cpp index 5278228..32af3af 100644 --- a/ui/applicationBase.cpp +++ b/ui/applicationBase.cpp @@ -22,8 +22,8 @@ ApplicationBase::ApplicationBase() setGlAttribute(SDL_GL_DOUBLEBUFFER, 1); setGlAttribute(SDL_GL_CONTEXT_PROFILE_MASK, SDL_GL_CONTEXT_PROFILE_CORE); - setGlAttribute(SDL_GL_CONTEXT_MAJOR_VERSION, 3); - setGlAttribute(SDL_GL_CONTEXT_MINOR_VERSION, 3); + setGlAttribute(SDL_GL_CONTEXT_MAJOR_VERSION, 4); + setGlAttribute(SDL_GL_CONTEXT_MINOR_VERSION, 2); setGlAttribute(SDL_GL_SHARE_WITH_CURRENT_CONTEXT, 1); } |