summaryrefslogtreecommitdiff
path: root/ui/applicationBase.cpp
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2023-11-03 21:31:35 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2023-11-07 01:02:02 +0000
commit3eed7751c9f2a7ae5cdba1d233751f82dd8d9b10 (patch)
tree68146762d3c0c0268a180558d6fdea0300e68b09 /ui/applicationBase.cpp
parentMerge branch 'glad' (diff)
downloadilt-3eed7751c9f2a7ae5cdba1d233751f82dd8d9b10.tar.bz2
ilt-3eed7751c9f2a7ae5cdba1d233751f82dd8d9b10.tar.xz
ilt-3eed7751c9f2a7ae5cdba1d233751f82dd8d9b10.zip
Don't request a specific OpenGL version, just check we get something sufficient from gladLoadGL
Diffstat (limited to 'ui/applicationBase.cpp')
-rw-r--r--ui/applicationBase.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/ui/applicationBase.cpp b/ui/applicationBase.cpp
index 32af3af..2be1f6c 100644
--- a/ui/applicationBase.cpp
+++ b/ui/applicationBase.cpp
@@ -21,9 +21,6 @@ ApplicationBase::ApplicationBase()
setGlAttribute(SDL_GL_DEPTH_SIZE, 16);
setGlAttribute(SDL_GL_DOUBLEBUFFER, 1);
- setGlAttribute(SDL_GL_CONTEXT_PROFILE_MASK, SDL_GL_CONTEXT_PROFILE_CORE);
- setGlAttribute(SDL_GL_CONTEXT_MAJOR_VERSION, 4);
- setGlAttribute(SDL_GL_CONTEXT_MINOR_VERSION, 2);
setGlAttribute(SDL_GL_SHARE_WITH_CURRENT_CONTEXT, 1);
}