From 9ae8c778df38ca9eec635f1d1944db1a83d4446c Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Tue, 6 Sep 2011 14:28:28 +0200 Subject: [PATCH] Error message updates. --- src/opengl.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/opengl.c b/src/opengl.c index 6d6f24fb..8437fe38 100644 --- a/src/opengl.c +++ b/src/opengl.c @@ -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; }