Fix macOS build error due to merge issue

This commit is contained in:
Brecht Van Lommel 2022-09-21 16:21:24 +02:00
parent fe15766f46
commit cab2ca7a24

View file

@ -269,7 +269,8 @@ GHOST_TSuccess GHOST_ContextCGL::initializeDrawingContext()
attribs.clear();
attribs.reserve(40);
makeAttribList(attribs, m_stereoVisual, needAlpha, softwareGL, increasedSamplerLimit);
makeAttribList(
attribs, m_coreProfile, m_stereoVisual, needAlpha, softwareGL, increasedSamplerLimit);
pixelFormat = [[NSOpenGLPixelFormat alloc] initWithAttributes:&attribs[0]];
if (pixelFormat == nil) {