Fixed test for wrong client API.

master
Camilla Berglund ago%!(EXTRA string=13 years)
parent f236fc2f61
commit ae5da60c18
  1. 2
      src/cocoa_window.m

@ -729,7 +729,7 @@ static GLboolean createContext(_GLFWwindow* window,
else if (colorBits < 15)
colorBits = 15;
if (wndconfig->clientAPI != GLFW_OPENGL_ES_API)
if (wndconfig->clientAPI != GLFW_OPENGL_API)
{
_glfwSetError(GLFW_VERSION_UNAVAILABLE,
"Cocoa/NSOpenGL: NSOpenGL does not support OpenGL ES");

Loading…
Cancel
Save