mirror of
https://github.com/glfw/glfw.git
synced 2024-11-10 00:51:47 +00:00
Added error tokens (oops).
This commit is contained in:
parent
f5d74c4f9a
commit
e28543c930
@ -350,6 +350,18 @@ extern "C" {
|
|||||||
#define GLFW_AXES 0x00050002
|
#define GLFW_AXES 0x00050002
|
||||||
#define GLFW_BUTTONS 0x00050003
|
#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
|
* Typedefs
|
||||||
|
Loading…
Reference in New Issue
Block a user