Defines | |
#define | GLFW_API_UNAVAILABLE 0x00010006 |
GLFW could not find support for the requested client API on the system. | |
#define | GLFW_FORMAT_UNAVAILABLE 0x00010009 |
The requested format is not supported or available. | |
#define | GLFW_INVALID_ENUM 0x00010003 |
One of the arguments to the function was an invalid enum value. | |
#define | GLFW_INVALID_VALUE 0x00010004 |
One of the arguments to the function was an invalid value. | |
#define | GLFW_NO_CURRENT_CONTEXT 0x00010002 |
No context is current for this thread. | |
#define | GLFW_NOT_INITIALIZED 0x00010001 |
GLFW has not been initialized. | |
#define | GLFW_OUT_OF_MEMORY 0x00010005 |
A memory allocation failed. | |
#define | GLFW_PLATFORM_ERROR 0x00010008 |
A platform-specific error occurred that does not match any of the more specific categories. | |
#define | GLFW_VERSION_UNAVAILABLE 0x00010007 |
The requested OpenGL or OpenGL ES version is not available. |
See [error handling](error_handling) for how these are used.
#define GLFW_API_UNAVAILABLE 0x00010006 |
GLFW could not find support for the requested client API on the system.
GLFW could not find support for the requested client API on the system. If emitted by functions other than glfwCreateWindow, no supported client API was found.
#define GLFW_FORMAT_UNAVAILABLE 0x00010009 |
The requested format is not supported or available.
If emitted during window creation, the requested pixel format is not supported.
If emitted when querying the clipboard, the contents of the clipboard could not be converted to the requested format.
#define GLFW_INVALID_ENUM 0x00010003 |
One of the arguments to the function was an invalid enum value.
One of the arguments to the function was an invalid enum value, for example requesting [GLFW_RED_BITS](window_hints_fb) with glfwGetWindowAttrib.
#define GLFW_INVALID_VALUE 0x00010004 |
One of the arguments to the function was an invalid value.
One of the arguments to the function was an invalid value, for example requesting a non-existent OpenGL or OpenGL ES version like 2.7.
Requesting a valid but unavailable OpenGL or OpenGL ES version will instead result in a GLFW_VERSION_UNAVAILABLE error.
#define GLFW_NO_CURRENT_CONTEXT 0x00010002 |
No context is current for this thread.
This occurs if a GLFW function was called that needs and operates on the current OpenGL or OpenGL ES context but no context is current on the calling thread. One such function is glfwSwapInterval.
#define GLFW_NOT_INITIALIZED 0x00010001 |
#define GLFW_OUT_OF_MEMORY 0x00010005 |
A memory allocation failed.
A memory allocation failed.
#define GLFW_PLATFORM_ERROR 0x00010008 |
A platform-specific error occurred that does not match any of the more specific categories.
A platform-specific error occurred that does not match any of the more specific categories.
#define GLFW_VERSION_UNAVAILABLE 0x00010007 |
The requested OpenGL or OpenGL ES version is not available.
The requested OpenGL or OpenGL ES version (including any requested context or framebuffer hints) is not available on this machine.