From fbf78649f5cc78ba805b5017915f4ee356dbca85 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leo=20G=C3=B6ttlicher?= <8429918+HeliumAnt@users.noreply.github.com> Date: Mon, 1 Sep 2025 14:36:27 +0200 Subject: [PATCH] set context profile to core This should help with compatibility on a lot of older (and some newer with poor gl drivers) GPUs --- Source/Managers/WindowMan.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Managers/WindowMan.cpp b/Source/Managers/WindowMan.cpp index b5997cd3b6..bfd3a2da11 100644 --- a/Source/Managers/WindowMan.cpp +++ b/Source/Managers/WindowMan.cpp @@ -124,7 +124,7 @@ void WindowMan::Initialize() { SDL_GL_SetAttribute(SDL_GL_DOUBLEBUFFER, 1); SDL_GL_SetAttribute(SDL_GL_CONTEXT_MAJOR_VERSION, 3); SDL_GL_SetAttribute(SDL_GL_CONTEXT_MINOR_VERSION, 3); - SDL_GL_SetAttribute(SDL_GL_CONTEXT_PROFILE_MASK, SDL_GL_CONTEXT_PROFILE_COMPATIBILITY); + SDL_GL_SetAttribute(SDL_GL_CONTEXT_PROFILE_MASK, SDL_GL_CONTEXT_PROFILE_CORE); CreatePrimaryWindow(); InitializeOpenGL();