mirror of
https://github.com/glfw/glfw.git
synced 2026-08-28 20:05:54 +02:00
Added error management from pre-3.0 branch.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user