From 82737adb918fb9e48460de4424f83bf0d2671b4e Mon Sep 17 00:00:00 2001 From: wheremyfoodat <44909372+wheremyfoodat@users.noreply.github.com> Date: Sun, 24 Nov 2024 17:42:39 +0200 Subject: [PATCH] Update frontend_sdl.cpp --- src/panda_sdl/frontend_sdl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/panda_sdl/frontend_sdl.cpp b/src/panda_sdl/frontend_sdl.cpp index 080a576f..1c07c25e 100644 --- a/src/panda_sdl/frontend_sdl.cpp +++ b/src/panda_sdl/frontend_sdl.cpp @@ -58,7 +58,7 @@ FrontendSDL::FrontendSDL() : keyboardMappings(InputMappings::defaultKeyboardMapp emu.setOutputSize(windowWidth, windowHeight); if (needOpenGL) { - // Demand 4.1 core for OpenGL renderer (max available on MacOS), 3.3 anywhere else + // Demand 4.1 core for OpenGL renderer (max available on MacOS), 3.3 for the software & null renderers // MacOS gets mad if we don't explicitly demand a core profile SDL_GL_SetAttribute(SDL_GL_CONTEXT_PROFILE_MASK, SDL_GL_CONTEXT_PROFILE_CORE); SDL_GL_SetAttribute(SDL_GL_CONTEXT_MAJOR_VERSION, config.rendererType == RendererType::OpenGL ? 4 : 3);