We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cadc562 commit 78cf637Copy full SHA for 78cf637
src/Entry/SDL/AppSDLImpl.hpp
@@ -158,7 +158,7 @@ class AppSDLImpl : public AppBase<AppSDLImpl>
158
SDL_GL_SetAttribute(SDL_GL_MULTISAMPLEBUFFERS, appConfig().graphicsContextConfig.multiSample > 0);
159
SDL_GL_SetAttribute(SDL_GL_MULTISAMPLESAMPLES, appConfig().graphicsContextConfig.multiSample);
160
// SDL_SetHint(SDL_HINT_VIDEO_HIGHDPI_DISABLED, "1");
161
-#if defined(EMSCRIPTEN) || defined(VGG_TARGET_ARCH_RISCV) || defined(VGG_TARGET_ARCH_ARM)
+#if defined(EMSCRIPTEN) || defined(VGG_TARGET_ARCH_RISCV) || (defined(VGG_TARGET_ARCH_ARM) && !defined(VGG_TARGET_PLATFORM_macOS))
162
SDL_GL_SetAttribute(SDL_GL_CONTEXT_MAJOR_VERSION, 2);
163
SDL_GL_SetAttribute(SDL_GL_CONTEXT_MINOR_VERSION, 0);
164
SDL_GL_SetAttribute(SDL_GL_CONTEXT_PROFILE_MASK, SDL_GL_CONTEXT_PROFILE_ES);
0 commit comments