From df75a2dc2fed258f2fe4518c37a5a3b4675535aa Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Mon, 19 Sep 2011 21:32:04 +0200 Subject: [PATCH] Added missing error string. --- src/error.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/error.c b/src/error.c index 0a4088e1..574f84cd 100644 --- a/src/error.c +++ b/src/error.c @@ -107,6 +107,8 @@ GLFWAPI const char* glfwErrorString(int error) return "The requested OpenGL version is unavailable"; case GLFW_PLATFORM_ERROR: return "A platform-specific error occurred"; + case GLFW_WINDOW_NOT_ACTIVE: + return "The specified window is not active"; } return "ERROR: UNKNOWN ERROR TOKEN PASSED TO glfwErrorString";