Added initial framebuffer sRGB support.

This commit is contained in:
Camilla Berglund
2010-11-16 02:33:21 +01:00
parent 20662dd77b
commit 07260cb768
8 changed files with 53 additions and 6 deletions
+3
View File
@@ -90,6 +90,7 @@ struct _GLFWhints
GLboolean stereo;
GLboolean windowNoResize;
int samples;
GLboolean sRGB;
int glMajor;
int glMinor;
GLboolean glForward;
@@ -141,6 +142,7 @@ struct _GLFWfbconfig
int auxBuffers;
GLboolean stereo;
int samples;
GLboolean sRGB;
GLFWintptr platformID;
};
@@ -186,6 +188,7 @@ struct _GLFWwindow
int auxBuffers;
GLboolean stereo;
int samples;
GLboolean sRGB;
// OpenGL extensions and context attributes
GLboolean accelerated; // GL_TRUE if OpenGL context is "accelerated"