diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2023-05-09 23:35:28 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2023-05-09 23:35:28 +0100 |
commit | 5c5e3e7f54620461091214a6b7180bb5d8e7afb9 (patch) | |
tree | 7b65c5ce8b8bb577ccc21437d62958e91ea81b3d /ui | |
parent | Merge branch 'containers' (diff) | |
download | ilt-5c5e3e7f54620461091214a6b7180bb5d8e7afb9.tar.bz2 ilt-5c5e3e7f54620461091214a6b7180bb5d8e7afb9.tar.xz ilt-5c5e3e7f54620461091214a6b7180bb5d8e7afb9.zip |
Support for tessellation shaders
Diffstat (limited to 'ui')
-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); } |