diff options
author | Dave Airlie <airlied@redhat.com> | 2011-03-06 19:54:37 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2011-03-06 19:56:22 +1000 |
commit | b09b3e5c8f4f5d71b986bf359b56e7b60424538d (patch) | |
tree | d2ec849880e1d1b0418b06d10060d5f903457051 /src/glx/glxext.c | |
parent | 7cb17862c6a5690fbe88508cbb772ba92373292f (diff) | |
download | external_mesa3d-b09b3e5c8f4f5d71b986bf359b56e7b60424538d.zip external_mesa3d-b09b3e5c8f4f5d71b986bf359b56e7b60424538d.tar.gz external_mesa3d-b09b3e5c8f4f5d71b986bf359b56e7b60424538d.tar.bz2 |
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 <airlied@redhat.com>
Diffstat (limited to 'src/glx/glxext.c')
-rw-r--r-- | src/glx/glxext.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/glx/glxext.c b/src/glx/glxext.c index 25d266e..38622f3 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++; |