summaryrefslogtreecommitdiff
path: root/ui
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2026-01-29 18:24:58 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2026-01-29 18:24:58 +0000
commit89ee29561e14372155f0bf13bd7de7c4485b6fcf (patch)
tree65f33e14fae3270610b573e61930afa7734f6605 /ui
parentFix search/replace of GL_* macros in glsl (diff)
downloadilt-89ee29561e14372155f0bf13bd7de7c4485b6fcf.tar.bz2
ilt-89ee29561e14372155f0bf13bd7de7c4485b6fcf.tar.xz
ilt-89ee29561e14372155f0bf13bd7de7c4485b6fcf.zip
Update OpenGL context and shaders to v4.6
Note: doesn't remove/replace older functions where newer ones might be better.
Diffstat (limited to 'ui')
-rw-r--r--ui/applicationBase.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/applicationBase.cpp b/ui/applicationBase.cpp
index 6daffbe..c9748e7 100644
--- a/ui/applicationBase.cpp
+++ b/ui/applicationBase.cpp
@@ -29,8 +29,8 @@ ApplicationBase::initSDL() const
setGlAttribute(SDL_GL_DEPTH_SIZE, 16);
setGlAttribute(SDL_GL_DOUBLEBUFFER, 1);
- 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, 6);
setGlAttribute(SDL_GL_CONTEXT_PROFILE_MASK, SDL_GL_CONTEXT_PROFILE_CORE);
setGlAttribute(SDL_GL_SHARE_WITH_CURRENT_CONTEXT, 1);
}