summaryrefslogtreecommitdiffstats
path: root/src/glx/clientinfo.c
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2016-08-12 14:48:54 -0700
committerKenneth Graunke <[email protected]>2016-08-25 11:07:01 -0700
commit6cf8708ce55fb38c400c8f005e55170f54241187 (patch)
tree8379980873f3e5207c0bac7b98b276fb3a357712 /src/glx/clientinfo.c
parented871af91c2a34efde5073c91d87d1d31d50f5a8 (diff)
meta: Always do GenerateMipmaps in linear colorspace.
When generating mipmaps for sRGB textures, force both decode and encode, so the filtering is done in linear colorspace, regardless of settings. Fixes a WebGL conformance test in Chrome: https://www.khronos.org/registry/webgl/sdk/tests/conformance2/textures/misc/tex-srgb-mipmap.html?webglVersion=2 Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=97322 Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Topi Pohjolainen <[email protected]>
Diffstat (limited to 'src/glx/clientinfo.c')
0 files changed, 0 insertions, 0 deletions