Added missing call to 'update' on NSOpenGLContext object in 'makeContextCurrentNSGL'.

This commit is contained in:
Lukas Hermanns 2018-05-08 10:11:29 +02:00
parent acf14b83a7
commit 76324979b9

View File

@ -33,6 +33,7 @@ static void makeContextCurrentNSGL(_GLFWwindow* window)
{ {
#ifdef _GLFW_OPENGL_SINGLE_GLRC #ifdef _GLFW_OPENGL_SINGLE_GLRC
[window->context.nsgl.object setView:window->ns.view]; [window->context.nsgl.object setView:window->ns.view];
[window->context.nsgl.object update];
#endif #endif
[window->context.nsgl.object makeCurrentContext]; [window->context.nsgl.object makeCurrentContext];
} }