Lines Matching refs:description
312 char description[_GLFW_MESSAGE_SIZE];
319 vsnprintf(description, sizeof(description), format, vl);
322 description[sizeof(description) - 1] = '\0';
327 strcpy(description, "The GLFW library is not initialized");
329 strcpy(description, "There is no current context");
331 strcpy(description, "Invalid argument for enum parameter");
333 strcpy(description, "Invalid value for parameter");
335 strcpy(description, "Out of memory");
337 strcpy(description, "The requested API is unavailable");
339 strcpy(description, "The requested API version is unavailable");
341 strcpy(description, "A platform-specific error occurred");
343 strcpy(description, "The requested format is unavailable");
345 strcpy(description, "The specified window has no context");
347 strcpy(description, "The specified cursor shape is unavailable");
349 strcpy(description, "The requested feature cannot be implemented for this platform");
351 strcpy(description, "The requested feature has not yet been implemented for this platform");
353 strcpy(description, "The requested platform is unavailable");
355 strcpy(description, "ERROR: UNKNOWN GLFW ERROR");
375 strcpy(error->description, description);
378 _glfwErrorCallback(code, description);
499 GLFWAPI int glfwGetError(const char** description)
504 if (description)
505 *description = NULL;
516 if (description && code)
517 *description = error->description;