mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-23 16:09:47 +00:00
Update cocoa_gl_ctx.m
This commit is contained in:
parent
f5a12d63cc
commit
94af3addd0
@ -324,7 +324,7 @@ static bool cocoagl_gfx_ctx_set_video_mode(void *data,
|
||||
(NSOpenGLPixelFormatAttribute)0
|
||||
};
|
||||
|
||||
#ifdef MAC_OS_X_VERSION_10_7
|
||||
#if MAC_OS_X_VERSION_10_7
|
||||
if (g_major == 3 && (g_minor >= 1 && g_minor <= 3))
|
||||
{
|
||||
attributes[6] = NSOpenGLPFAOpenGLProfile;
|
||||
@ -332,7 +332,7 @@ static bool cocoagl_gfx_ctx_set_video_mode(void *data,
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef MAC_OS_X_VERSION_10_10
|
||||
#if MAC_OS_X_VERSION_10_10
|
||||
if (g_major == 4 && g_minor == 1)
|
||||
{
|
||||
attributes[6] = NSOpenGLPFAOpenGLProfile;
|
||||
|
Loading…
Reference in New Issue
Block a user