From 4fb55781f1e917b9f73e928338ed71b3af335f24 Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Mon, 15 Aug 2011 01:40:10 +0200 Subject: [PATCH] GLFW_OPENGL_REVISION is not a hint. --- include/GL/glfw3.h | 44 ++++++++++++++++++++++---------------------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/include/GL/glfw3.h b/include/GL/glfw3.h index ab9629f1..b9837169 100755 --- a/include/GL/glfw3.h +++ b/include/GL/glfw3.h @@ -392,32 +392,32 @@ extern "C" { #define GLFW_ACTIVE 0x00020001 #define GLFW_ICONIFIED 0x00020002 #define GLFW_ACCELERATED 0x00020003 +#define GLFW_OPENGL_REVISION 0x00020004 /* The following constants are used for both glfwGetWindowParam * and glfwOpenWindowHint */ -#define GLFW_RED_BITS 0x00020004 -#define GLFW_GREEN_BITS 0x00020005 -#define GLFW_BLUE_BITS 0x00020006 -#define GLFW_ALPHA_BITS 0x00020007 -#define GLFW_DEPTH_BITS 0x00020008 -#define GLFW_STENCIL_BITS 0x00020009 -#define GLFW_REFRESH_RATE 0x0002000A -#define GLFW_ACCUM_RED_BITS 0x0002000B -#define GLFW_ACCUM_GREEN_BITS 0x0002000C -#define GLFW_ACCUM_BLUE_BITS 0x0002000D -#define GLFW_ACCUM_ALPHA_BITS 0x0002000E -#define GLFW_AUX_BUFFERS 0x0002000F -#define GLFW_STEREO 0x00020010 -#define GLFW_WINDOW_NO_RESIZE 0x00020011 -#define GLFW_FSAA_SAMPLES 0x00020012 -#define GLFW_OPENGL_VERSION_MAJOR 0x00020013 -#define GLFW_OPENGL_VERSION_MINOR 0x00020014 -#define GLFW_OPENGL_REVISION 0x00020015 -#define GLFW_OPENGL_FORWARD_COMPAT 0x00020016 -#define GLFW_OPENGL_DEBUG_CONTEXT 0x00020017 -#define GLFW_OPENGL_PROFILE 0x00020018 -#define GLFW_OPENGL_ROBUSTNESS 0x00020019 +#define GLFW_RED_BITS 0x00021000 +#define GLFW_GREEN_BITS 0x00021001 +#define GLFW_BLUE_BITS 0x00021002 +#define GLFW_ALPHA_BITS 0x00021003 +#define GLFW_DEPTH_BITS 0x00021004 +#define GLFW_STENCIL_BITS 0x00021005 +#define GLFW_REFRESH_RATE 0x00021006 +#define GLFW_ACCUM_RED_BITS 0x00021007 +#define GLFW_ACCUM_GREEN_BITS 0x00021008 +#define GLFW_ACCUM_BLUE_BITS 0x00021009 +#define GLFW_ACCUM_ALPHA_BITS 0x0002100A +#define GLFW_AUX_BUFFERS 0x0002100B +#define GLFW_STEREO 0x0002100C +#define GLFW_WINDOW_NO_RESIZE 0x0002100D +#define GLFW_FSAA_SAMPLES 0x0002100E +#define GLFW_OPENGL_VERSION_MAJOR 0x0002100F +#define GLFW_OPENGL_VERSION_MINOR 0x00021010 +#define GLFW_OPENGL_FORWARD_COMPAT 0x00021011 +#define GLFW_OPENGL_DEBUG_CONTEXT 0x00021012 +#define GLFW_OPENGL_PROFILE 0x00021013 +#define GLFW_OPENGL_ROBUSTNESS 0x00021014 /* GLFW_OPENGL_ROBUSTNESS mode tokens */ #define GLFW_OPENGL_NO_ROBUSTNESS 0x00000000