Made OpenGL profile value officially a bitmask.

This commit is contained in:
Camilla Berglund 2010-11-15 21:40:43 +01:00
parent 39dfa7d258
commit 20662dd77b

View File

@ -335,10 +335,10 @@ extern "C" {
#define GLFW_OPENGL_DEBUG_CONTEXT 0x00020016 #define GLFW_OPENGL_DEBUG_CONTEXT 0x00020016
#define GLFW_OPENGL_PROFILE 0x00020017 #define GLFW_OPENGL_PROFILE 0x00020017
/* GLFW_OPENGL_PROFILE tokens */ /* GLFW_OPENGL_PROFILE bit tokens */
#define GLFW_OPENGL_CORE_PROFILE 0x00050001 #define GLFW_OPENGL_CORE_PROFILE 0x00000001
#define GLFW_OPENGL_COMPAT_PROFILE 0x00050002 #define GLFW_OPENGL_COMPAT_PROFILE 0x00000002
#define GLFW_OPENGL_ES2_PROFILE 0x00050004 #define GLFW_OPENGL_ES2_PROFILE 0x00000004
/* glfwEnable/glfwDisable tokens */ /* glfwEnable/glfwDisable tokens */
#define GLFW_MOUSE_CURSOR 0x00030001 #define GLFW_MOUSE_CURSOR 0x00030001