Skip to content

Commit dc3ef43

Browse files
Merge pull request #469 from a740g/main
2 parents bbac165 + 16a69f1 commit dc3ef43

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

RGFW.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14471,10 +14471,10 @@ RGFW_bool RGFW_window_createContextPtr_OpenGL(RGFW_window* win, RGFW_glContext*
1447114471
RGFW_attribStack_pushAttrib(&stack, NSOpenGLPFADoubleBuffer);
1447214472

1447314473
#ifdef RGFW_COCOA_GRAPHICS_SWITCHING
14474-
RGFW_attribStack_pushAttribs(&stack, NSOpenGLPFAAllowOfflineRenderers, kCGLPFASupportsAutomaticGraphicsSwitching)
14474+
RGFW_attribStack_pushAttribs(&stack, NSOpenGLPFAAllowOfflineRenderers, kCGLPFASupportsAutomaticGraphicsSwitching);
1447514475
#endif
1447614476
#if MAC_OS_X_VERSION_MAX_ALLOWED < 101200
14477-
if (hints->stereo]) RGFW_attribStack_pushAttrib(&stack, NSOpenGLPFAStereo);
14477+
if (hints->stereo) RGFW_attribStack_pushAttrib(&stack, NSOpenGLPFAStereo);
1447814478
#endif
1447914479

1448014480
/* macOS has the surface attribs and the OpenGL attribs connected for some reason maybe this is to give macOS more control to limit openGL/the OpenGL version? */

0 commit comments

Comments
 (0)