wined3d: Respect D3DRS_SRGBWRITEENABLE in clears.
commit787a2716e1f7e3ade07b16c820ee2026153c80da
authorMatteo Bruni <mbruni@codeweavers.com>
Fri, 27 Nov 2015 19:39:35 +0000 (27 20:39 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 30 Nov 2015 14:51:05 +0000 (30 23:51 +0900)
treedaf6d03d87a1b07f9cb7b6996260e01bb80c41b1
parent74535486af5ac7c4b978e00e7f90e7b0141f3a71
wined3d: Respect D3DRS_SRGBWRITEENABLE in clears.

This only handles the case where ARB_framebuffer_sRGB and
EXT_texture_sRGB_decode are supported by the GL implementation.

Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/d3d9/tests/visual.c
dlls/wined3d/context.c