mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-23 14:19:55 -06:00
Fix small mistake in GL context creation on macOS causing version 3.2 to
be considered invalid
This commit is contained in:
@ -51,7 +51,7 @@ bool ContextAGL::Initialize(const Version* versions_to_try, size_t num_versions_
|
||||
}
|
||||
else if (cv.profile == Profile::Core)
|
||||
{
|
||||
if (cv.major_version > 4 || cv.minor_version > 1)
|
||||
if (cv.major_version > 4 && cv.minor_version > 1)
|
||||
continue;
|
||||
|
||||
const NSOpenGLPixelFormatAttribute profile = (cv.major_version > 3 || cv.minor_version > 2) ? NSOpenGLProfileVersion4_1Core : NSOpenGLProfileVersion3_2Core;
|
||||
|
Reference in New Issue
Block a user