aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/mesa/drivers/dri
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2011-03-07 07:40:39 +0000
committermarha <marha@users.sourceforge.net>2011-03-07 07:40:39 +0000
commit4f70194d203322cf1ec38767098976797c116f0c (patch)
treecaf54322d821e7ef7b596cf62e0e45826ec3fbbc /mesalib/src/mesa/drivers/dri
parentb6bc795c211112d5365ce3622a8aa0d1b0344dcf (diff)
parentd550ff64af08efb189450fa7b7104b3e049b5779 (diff)
downloadvcxsrv-4f70194d203322cf1ec38767098976797c116f0c.tar.gz
vcxsrv-4f70194d203322cf1ec38767098976797c116f0c.tar.bz2
vcxsrv-4f70194d203322cf1ec38767098976797c116f0c.zip
svn merge ^/branches/released .
Diffstat (limited to 'mesalib/src/mesa/drivers/dri')
-rw-r--r--mesalib/src/mesa/drivers/dri/common/utils.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/mesalib/src/mesa/drivers/dri/common/utils.c b/mesalib/src/mesa/drivers/dri/common/utils.c
index 02c8cc6f5..a36f65da4 100644
--- a/mesalib/src/mesa/drivers/dri/common/utils.c
+++ b/mesalib/src/mesa/drivers/dri/common/utils.c
@@ -650,6 +650,8 @@ driCreateConfigs(GLenum fb_format, GLenum fb_type,
__DRI_ATTRIB_TEXTURE_1D_BIT |
__DRI_ATTRIB_TEXTURE_2D_BIT |
__DRI_ATTRIB_TEXTURE_RECTANGLE_BIT;
+
+ modes->sRGBCapable = GL_FALSE;
}
}
}
@@ -729,6 +731,7 @@ static const struct { unsigned int attrib, offset; } attribMap[] = {
__ATTRIB(__DRI_ATTRIB_BIND_TO_MIPMAP_TEXTURE, bindToMipmapTexture),
__ATTRIB(__DRI_ATTRIB_BIND_TO_TEXTURE_TARGETS, bindToTextureTargets),
__ATTRIB(__DRI_ATTRIB_YINVERTED, yInverted),
+ __ATTRIB(__DRI_ATTRIB_FRAMEBUFFER_SRGB_CAPABLE, sRGBCapable),
/* The struct field doesn't matter here, these are handled by the
* switch in driGetConfigAttribIndex. We need them in the array