mirror of
https://github.com/glfw/glfw.git
synced 2024-11-26 03:52:01 +00:00
Made OpenGL profile value officially a bitmask.
This commit is contained in:
parent
39dfa7d258
commit
20662dd77b
@ -335,10 +335,10 @@ extern "C" {
|
||||
#define GLFW_OPENGL_DEBUG_CONTEXT 0x00020016
|
||||
#define GLFW_OPENGL_PROFILE 0x00020017
|
||||
|
||||
/* GLFW_OPENGL_PROFILE tokens */
|
||||
#define GLFW_OPENGL_CORE_PROFILE 0x00050001
|
||||
#define GLFW_OPENGL_COMPAT_PROFILE 0x00050002
|
||||
#define GLFW_OPENGL_ES2_PROFILE 0x00050004
|
||||
/* GLFW_OPENGL_PROFILE bit tokens */
|
||||
#define GLFW_OPENGL_CORE_PROFILE 0x00000001
|
||||
#define GLFW_OPENGL_COMPAT_PROFILE 0x00000002
|
||||
#define GLFW_OPENGL_ES2_PROFILE 0x00000004
|
||||
|
||||
/* glfwEnable/glfwDisable tokens */
|
||||
#define GLFW_MOUSE_CURSOR 0x00030001
|
||||
|
Loading…
Reference in New Issue
Block a user