mirror of
https://github.com/glfw/glfw.git
synced 2024-11-26 06:14:35 +00:00
Bug fix formatting.
This commit is contained in:
parent
ae5da60c18
commit
2bb62a1467
@ -729,7 +729,7 @@ static GLboolean createContext(_GLFWwindow* window,
|
|||||||
else if (colorBits < 15)
|
else if (colorBits < 15)
|
||||||
colorBits = 15;
|
colorBits = 15;
|
||||||
|
|
||||||
if (wndconfig->clientAPI != GLFW_OPENGL_API)
|
if (wndconfig->clientAPI == GLFW_OPENGL_ES_API)
|
||||||
{
|
{
|
||||||
_glfwSetError(GLFW_VERSION_UNAVAILABLE,
|
_glfwSetError(GLFW_VERSION_UNAVAILABLE,
|
||||||
"Cocoa/NSOpenGL: NSOpenGL does not support OpenGL ES");
|
"Cocoa/NSOpenGL: NSOpenGL does not support OpenGL ES");
|
||||||
|
Loading…
Reference in New Issue
Block a user