We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e6b790 commit 0cbc8d2Copy full SHA for 0cbc8d2
1 file changed
gfx/drivers_context/cocoa_gl_ctx.m
@@ -366,20 +366,14 @@ static bool cocoa_gl_gfx_ctx_set_video_mode(void *data,
366
{
367
case 3:
368
#if MAC_OS_X_VERSION_10_7
369
- if (g_gl_minor >= 1 && g_gl_minor <= 3) /* OpenGL 3.2 Core */
370
- {
371
- attributes[6] = NSOpenGLPFAOpenGLProfile;
372
- attributes[7] = NSOpenGLProfileVersion3_2Core;
373
- }
+ attributes[6] = NSOpenGLPFAOpenGLProfile;
+ attributes[7] = NSOpenGLProfileVersion3_2Core;
374
#endif
375
break;
376
case 4:
377
#if MAC_OS_X_VERSION_10_10
378
- if (g_gl_minor == 1) /* OpenGL 4.1 Core */
379
380
381
- attributes[7] = NSOpenGLProfileVersion4_1Core;
382
+ attributes[7] = NSOpenGLProfileVersion4_1Core;
383
384
385
}
0 commit comments