Error message updates.

This commit is contained in:
Camilla Berglund 2011-09-06 14:28:28 +02:00
parent 39dc15f737
commit 9ae8c778df

View File

@ -416,8 +416,9 @@ GLboolean _glfwIsValidContext(_GLFWwindow* window, _GLFWwndconfig* wndconfig)
// configuration in order to work // configuration in order to work
_glfwSetError(GLFW_PLATFORM_ERROR, _glfwSetError(GLFW_PLATFORM_ERROR,
"glfwOpenWindow: Entry point retrieval is broken; see " "glfwOpenWindow: Entry point retrieval is broken "
"the build documentation for your platform"); "because GLFW was incorrectly compiled; "
"see the build documentation for your platform");
return GL_FALSE; return GL_FALSE;
} }
} }
@ -657,7 +658,7 @@ GLFWAPI void glfwCopyContext(GLFWwindow hsrc, GLFWwindow hdst, unsigned long mas
if (_glfwLibrary.currentWindow == dst) if (_glfwLibrary.currentWindow == dst)
{ {
_glfwSetError(GLFW_INVALID_VALUE, _glfwSetError(GLFW_INVALID_VALUE,
"Cannot copy OpenGL state to a current context"); "glfwCopyContext: Cannot copy OpenGL state to a current context");
return; return;
} }