GLFW_OPENGL_REVISION is not a hint.

This commit is contained in:
Camilla Berglund 2011-08-15 01:40:10 +02:00
parent c32fa805d5
commit 4fb55781f1

View File

@ -392,32 +392,32 @@ extern "C" {
#define GLFW_ACTIVE 0x00020001 #define GLFW_ACTIVE 0x00020001
#define GLFW_ICONIFIED 0x00020002 #define GLFW_ICONIFIED 0x00020002
#define GLFW_ACCELERATED 0x00020003 #define GLFW_ACCELERATED 0x00020003
#define GLFW_OPENGL_REVISION 0x00020004
/* The following constants are used for both glfwGetWindowParam /* The following constants are used for both glfwGetWindowParam
* and glfwOpenWindowHint * and glfwOpenWindowHint
*/ */
#define GLFW_RED_BITS 0x00020004 #define GLFW_RED_BITS 0x00021000
#define GLFW_GREEN_BITS 0x00020005 #define GLFW_GREEN_BITS 0x00021001
#define GLFW_BLUE_BITS 0x00020006 #define GLFW_BLUE_BITS 0x00021002
#define GLFW_ALPHA_BITS 0x00020007 #define GLFW_ALPHA_BITS 0x00021003
#define GLFW_DEPTH_BITS 0x00020008 #define GLFW_DEPTH_BITS 0x00021004
#define GLFW_STENCIL_BITS 0x00020009 #define GLFW_STENCIL_BITS 0x00021005
#define GLFW_REFRESH_RATE 0x0002000A #define GLFW_REFRESH_RATE 0x00021006
#define GLFW_ACCUM_RED_BITS 0x0002000B #define GLFW_ACCUM_RED_BITS 0x00021007
#define GLFW_ACCUM_GREEN_BITS 0x0002000C #define GLFW_ACCUM_GREEN_BITS 0x00021008
#define GLFW_ACCUM_BLUE_BITS 0x0002000D #define GLFW_ACCUM_BLUE_BITS 0x00021009
#define GLFW_ACCUM_ALPHA_BITS 0x0002000E #define GLFW_ACCUM_ALPHA_BITS 0x0002100A
#define GLFW_AUX_BUFFERS 0x0002000F #define GLFW_AUX_BUFFERS 0x0002100B
#define GLFW_STEREO 0x00020010 #define GLFW_STEREO 0x0002100C
#define GLFW_WINDOW_NO_RESIZE 0x00020011 #define GLFW_WINDOW_NO_RESIZE 0x0002100D
#define GLFW_FSAA_SAMPLES 0x00020012 #define GLFW_FSAA_SAMPLES 0x0002100E
#define GLFW_OPENGL_VERSION_MAJOR 0x00020013 #define GLFW_OPENGL_VERSION_MAJOR 0x0002100F
#define GLFW_OPENGL_VERSION_MINOR 0x00020014 #define GLFW_OPENGL_VERSION_MINOR 0x00021010
#define GLFW_OPENGL_REVISION 0x00020015 #define GLFW_OPENGL_FORWARD_COMPAT 0x00021011
#define GLFW_OPENGL_FORWARD_COMPAT 0x00020016 #define GLFW_OPENGL_DEBUG_CONTEXT 0x00021012
#define GLFW_OPENGL_DEBUG_CONTEXT 0x00020017 #define GLFW_OPENGL_PROFILE 0x00021013
#define GLFW_OPENGL_PROFILE 0x00020018 #define GLFW_OPENGL_ROBUSTNESS 0x00021014
#define GLFW_OPENGL_ROBUSTNESS 0x00020019
/* GLFW_OPENGL_ROBUSTNESS mode tokens */ /* GLFW_OPENGL_ROBUSTNESS mode tokens */
#define GLFW_OPENGL_NO_ROBUSTNESS 0x00000000 #define GLFW_OPENGL_NO_ROBUSTNESS 0x00000000