mirror of
https://github.com/glfw/glfw.git
synced 2024-11-29 13:32:01 +00:00
Error message updates.
This commit is contained in:
parent
39dc15f737
commit
9ae8c778df
@ -416,8 +416,9 @@ GLboolean _glfwIsValidContext(_GLFWwindow* window, _GLFWwndconfig* wndconfig)
|
||||
// configuration in order to work
|
||||
|
||||
_glfwSetError(GLFW_PLATFORM_ERROR,
|
||||
"glfwOpenWindow: Entry point retrieval is broken; see "
|
||||
"the build documentation for your platform");
|
||||
"glfwOpenWindow: Entry point retrieval is broken "
|
||||
"because GLFW was incorrectly compiled; "
|
||||
"see the build documentation for your platform");
|
||||
return GL_FALSE;
|
||||
}
|
||||
}
|
||||
@ -657,7 +658,7 @@ GLFWAPI void glfwCopyContext(GLFWwindow hsrc, GLFWwindow hdst, unsigned long mas
|
||||
if (_glfwLibrary.currentWindow == dst)
|
||||
{
|
||||
_glfwSetError(GLFW_INVALID_VALUE,
|
||||
"Cannot copy OpenGL state to a current context");
|
||||
"glfwCopyContext: Cannot copy OpenGL state to a current context");
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user