aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/mesa/main/texfetch.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2011-04-12 12:47:58 +0000
committermarha <marha@users.sourceforge.net>2011-04-12 12:47:58 +0000
commit7730393619080086530e24d3b594351b4114f608 (patch)
tree582900958a9de9e787833ae72ea1a60181ba5965 /mesalib/src/mesa/main/texfetch.c
parent2fb58f16eeec8ef3ec2a25e246477aab64e38a7d (diff)
downloadvcxsrv-7730393619080086530e24d3b594351b4114f608.tar.gz
vcxsrv-7730393619080086530e24d3b594351b4114f608.tar.bz2
vcxsrv-7730393619080086530e24d3b594351b4114f608.zip
mesa libXext pixman git update 12 Apr 2011
Diffstat (limited to 'mesalib/src/mesa/main/texfetch.c')
-rw-r--r--mesalib/src/mesa/main/texfetch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesalib/src/mesa/main/texfetch.c b/mesalib/src/mesa/main/texfetch.c
index b2181af29..caabc19bb 100644
--- a/mesalib/src/mesa/main/texfetch.c
+++ b/mesalib/src/mesa/main/texfetch.c
@@ -975,7 +975,7 @@ _mesa_set_fetch_functions(struct gl_texture_image *texImage, GLuint dims)
ASSERT(dims == 1 || dims == 2 || dims == 3);
- if (texImage->TexObject->sRGBDecode == GL_SKIP_DECODE_EXT &&
+ if (texImage->TexObject->Sampler.sRGBDecode == GL_SKIP_DECODE_EXT &&
_mesa_get_format_color_encoding(format) == GL_SRGB) {
format = _mesa_get_srgb_format_linear(format);
}