Added error management from pre-3.0 branch.

This commit is contained in:
Camilla Berglund
2010-09-09 21:06:59 +02:00
parent 1723c4af07
commit f5d74c4f9a
4 changed files with 113 additions and 0 deletions

View File

@@ -387,6 +387,10 @@ GLFWAPI int glfwInit(void);
GLFWAPI void glfwTerminate(void);
GLFWAPI void glfwGetVersion(int* major, int* minor, int* rev);
/* Error handling */
GLFWAPI int glfwGetError(void);
GLFWAPI const char* glfwErrorString(int error);
/* Video mode functions */
GLFWAPI int glfwGetVideoModes(GLFWvidmode* list, int maxcount);
GLFWAPI void glfwGetDesktopMode(GLFWvidmode* mode);