summaryrefslogtreecommitdiffstats
path: root/src/glx/glxext.c
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2011-03-06 19:54:37 +1000
committerDave Airlie <[email protected]>2011-03-06 19:56:22 +1000
commitb09b3e5c8f4f5d71b986bf359b56e7b60424538d (patch)
treed2ec849880e1d1b0418b06d10060d5f903457051 /src/glx/glxext.c
parent7cb17862c6a5690fbe88508cbb772ba92373292f (diff)
glx: add initial GLX_EXT_framebuffer_sRGB support.
this doesn't bind to drivers yet, just enough to in theory make indirect work against other servers. I'm really not sure what the rules for adding extensions to the known_gl_extensions list as it looks to be missing a few. are these GL extensions that have GLX protocol?? Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/glx/glxext.c')
-rw-r--r--src/glx/glxext.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/glx/glxext.c b/src/glx/glxext.c
index 25d266e18e1..38622f38264 100644
--- a/src/glx/glxext.c
+++ b/src/glx/glxext.c
@@ -546,6 +546,10 @@ __glXInitializeVisualConfigFromTags(struct glx_config * config, int count,
config->yInverted = *bp++;
break;
#endif
+ case GLX_FRAMEBUFFER_SRGB_CAPABLE_EXT:
+ config->framebuffer_srgb_capable = *bp++;
+ break;
+
case GLX_USE_GL:
if (fbconfig_style_tags)
bp++;