diff --git a/include/GL/glfw.h b/include/GL/glfw.h index c5dc8e0d..e8485c26 100644 --- a/include/GL/glfw.h +++ b/include/GL/glfw.h @@ -350,6 +350,18 @@ extern "C" { #define GLFW_AXES 0x00050002 #define GLFW_BUTTONS 0x00050003 +/* glfwGetError/glfwErrorString tokens */ +#define GLFW_NO_ERROR 0 +#define GLFW_NOT_INITIALIZED 0x00070001 +#define GLFW_INVALID_ENUM 0x00070002 +#define GLFW_INVALID_VALUE 0x00070003 +#define GLFW_OUT_OF_MEMORY 0x00070004 +#define GLFW_OPENGL_NOT_SUPPORTED 0x00070005 +#define GLFW_NO_PIXEL_FORMAT 0x00070006 +#define GLFW_VIDEO_MODE_FAILED 0x00070007 +#define GLFW_UNAVAILABLE_VERSION 0x00070008 +#define GLFW_NO_CURRENT_WINDOW 0x00070009 +#define GLFW_INTERNAL_ERROR 0x0007000A /************************************************************************* * Typedefs