diff options
author | marha <marha@users.sourceforge.net> | 2011-01-22 17:28:46 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2011-01-22 17:28:46 +0000 |
commit | f544012f5c37fba02cae71b39a533f8296cdabb5 (patch) | |
tree | 362b7ac783787d77962014f5f8e4e7c116de3f3f /mesalib/src/mesa/main/get.c | |
parent | 58eb5cd6de079f1f3ddf1edc2d436a24eb858dc2 (diff) | |
parent | b8ffa56f8bda74a402eae0c89aadfda7b7db507f (diff) | |
download | vcxsrv-f544012f5c37fba02cae71b39a533f8296cdabb5.tar.gz vcxsrv-f544012f5c37fba02cae71b39a533f8296cdabb5.tar.bz2 vcxsrv-f544012f5c37fba02cae71b39a533f8296cdabb5.zip |
svn merge ^/branches/released .
Diffstat (limited to 'mesalib/src/mesa/main/get.c')
-rw-r--r-- | mesalib/src/mesa/main/get.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mesalib/src/mesa/main/get.c b/mesalib/src/mesa/main/get.c index b49992746..3e5ddfcfd 100644 --- a/mesalib/src/mesa/main/get.c +++ b/mesalib/src/mesa/main/get.c @@ -317,6 +317,7 @@ EXTRA_EXT2(ARB_vertex_program, ARB_fragment_program); EXTRA_EXT(ARB_vertex_buffer_object);
EXTRA_EXT(ARB_geometry_shader4);
EXTRA_EXT(ARB_copy_buffer);
+EXTRA_EXT(EXT_framebuffer_sRGB);
static const int
extra_ARB_vertex_program_ARB_fragment_program_NV_vertex_program[] = {
@@ -1238,6 +1239,10 @@ static const struct value_desc values[] = { { GL_MINOR_VERSION, CONTEXT_INT(VersionMinor), extra_version_30 },
{ GL_CONTEXT_FLAGS, CONTEXT_INT(Const.ContextFlags), extra_version_30 },
+ /* GL3.0 / GL_EXT_framebuffer_sRGB */
+ { GL_FRAMEBUFFER_SRGB_EXT, CONTEXT_BOOL(Color.sRGBEnabled), extra_EXT_framebuffer_sRGB },
+ { GL_FRAMEBUFFER_SRGB_CAPABLE_EXT, BUFFER_INT(Visual.sRGBCapable), extra_EXT_framebuffer_sRGB },
+
/* GL 3.1 */
/* NOTE: different enum values for GL_PRIMITIVE_RESTART_NV
* vs. GL_PRIMITIVE_RESTART!
|