wined3d: Properly check if sRGB writes should be enabled in context_apply_clear_state().
commitcb9704a979747c31e856b755a026e6b892d2b9e0
authorHenri Verbeet <hverbeet@codeweavers.com>
Thu, 17 Mar 2016 15:30:01 +0000 (17 16:30 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Fri, 18 Mar 2016 03:20:40 +0000 (18 12:20 +0900)
tree0b197be86c4cce7314f0d7558a5e78da69c6c6ad
parent966a07149a029191d3d9ba010e5bcb8ccb8114a4
wined3d: Properly check if sRGB writes should be enabled in context_apply_clear_state().

In particular, while enabling sRGB writes is harmless for framebuffers that
are not sRGB capable, the default framebuffer may be sRGB capable regardless
of the associated wined3d format.

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