From 6538b5824e298eaebede2d9686c7607c44ab446a Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Sun, 6 Mar 2011 20:06:42 +1000 Subject: glx/dri: add initial dri interface for GLX_EXT_framebuffer_sRGB. This realigns the name of the glx bit to align with the core mesa names. --- src/glx/glxconfig.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/glx/glxconfig.c') diff --git a/src/glx/glxconfig.c b/src/glx/glxconfig.c index 805c301efb..c3e1d5a568 100644 --- a/src/glx/glxconfig.c +++ b/src/glx/glxconfig.c @@ -189,7 +189,7 @@ glx_config_get(struct glx_config * mode, int attribute, int *value_return) return 0; case GLX_FRAMEBUFFER_SRGB_CAPABLE_EXT: - *value_return = mode->framebuffer_srgb_capable; + *value_return = mode->sRGBCapable; return 0; /* Applications are NOT allowed to query GLX_VISUAL_SELECT_GROUP_SGIX. @@ -255,7 +255,7 @@ glx_config_create_list(unsigned count) (*next)->bindToMipmapTexture = GLX_DONT_CARE; (*next)->bindToTextureTargets = GLX_DONT_CARE; (*next)->yInverted = GLX_DONT_CARE; - (*next)->framebuffer_srgb_capable = GLX_DONT_CARE; + (*next)->sRGBCapable = GLX_DONT_CARE; next = &((*next)->next); } -- cgit v1.2.3