diff --git a/src/nsgl_context.m b/src/nsgl_context.m index 90706568..2cdc4ae2 100644 --- a/src/nsgl_context.m +++ b/src/nsgl_context.m @@ -344,8 +344,7 @@ GLFWbool _glfwCreateContextNSGL(_GLFWwindow* window, // Re-try with Software Renderer DELETE_ATTRIB(NSOpenGLPFAAccelerated); DELETE_TERMINATING_NULL; // Unterminate. - ADD_ATTRIB(NSOpenGLPFARendererID); - ADD_ATTRIB(kCGLRendererGenericFloatID); + SET_ATTRIB(NSOpenGLPFARendererID, kCGLRendererGenericFloatID); ADD_ATTRIB(0); // Re-terminate. window->context.nsgl.pixelFormat = [[NSOpenGLPixelFormat alloc] initWithAttributes:attribs];