summaryrefslogtreecommitdiff
path: root/ui/applicationBase.cpp
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2023-05-09 23:35:28 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2023-05-09 23:35:28 +0100
commit5c5e3e7f54620461091214a6b7180bb5d8e7afb9 (patch)
tree7b65c5ce8b8bb577ccc21437d62958e91ea81b3d /ui/applicationBase.cpp
parentMerge branch 'containers' (diff)
downloadilt-5c5e3e7f54620461091214a6b7180bb5d8e7afb9.tar.bz2
ilt-5c5e3e7f54620461091214a6b7180bb5d8e7afb9.tar.xz
ilt-5c5e3e7f54620461091214a6b7180bb5d8e7afb9.zip
Support for tessellation shaders
Diffstat (limited to 'ui/applicationBase.cpp')
-rw-r--r--ui/applicationBase.cpp4
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);
}