Skip to content

Instantly share code, notes, and snippets.

View dimitrijer's full-sized avatar

Dimitrije Radojević dimitrijer

View GitHub Profile
diff --git a/src/video/quartz/SDL_QuartzGL.m b/src/video/quartz/SDL_QuartzGL.m
index 22f292c..a842488 100644
--- a/src/video/quartz/SDL_QuartzGL.m
+++ b/src/video/quartz/SDL_QuartzGL.m
@@ -44,6 +44,7 @@
#if (MAC_OS_X_VERSION_MAX_ALLOWED < 1070)
#define NSOpenGLPFAOpenGLProfile ((NSOpenGLPixelFormatAttribute) 99)
#define NSOpenGLProfileVersion3_2Core ((NSOpenGLPixelFormatAttribute) 12800)
+#define NSOpenGLProfileVersion4_1Core ((NSOpenGLPixelFormatAttribute) 16640)
#endif