port: also try GL4.1 core; a little bit of cleanup

This commit is contained in:
fgsfds committed 2024-11-19 17:37:19 +01:00
1 parent 41d5630eec
commit efda5a5f44
4 files changed
+4 -10

No files matched your search

+2 -1
View File
@@ -130,7 +130,8 @@ static void gfx_sdl_init(const struct GfxWindowInitSettings *set) {
{ 0, 0, 0 }, // for command line override
{ 3, 0, SDL_GL_CONTEXT_PROFILE_COMPATIBILITY },
{ 3, 2, SDL_GL_CONTEXT_PROFILE_CORE },
{ 2, 1, SDL_GL_CONTEXT_PROFILE_COMPATIBILITY },
{ 4, 1, SDL_GL_CONTEXT_PROFILE_CORE },
{ 2, 1, SDL_GL_CONTEXT_PROFILE_COMPATIBILITY }, // will still require GLSL130
};
u32 glcore = false;