wined3d: Make use of the EXT_BLEND_SUBTRACT flag.
commit498e55a1824fccaca826c7edc84a55e729e4e342
authorMatteo Bruni <mbruni@codeweavers.com>
Tue, 16 Jun 2015 20:45:41 +0000 (16 22:45 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 17 Jun 2015 11:01:20 +0000 (17 20:01 +0900)
tree20bb71982d458385d240b42849c7bb2906fc5f83
parent35a2406900b88ead932cd998c85dabefb8a4b987
wined3d: Make use of the EXT_BLEND_SUBTRACT flag.

MSDN mentions a fallback to D3DBLENDOP_ADD if the selected blendop
is not supported. In theory it would be nice to write a test for that but
I don't think this is particularly important and moreover hardware
without that cap seems hard to come by (i.e. I have none)...
dlls/wined3d/directx.c
dlls/wined3d/state.c
dlls/wined3d/wined3d_gl.h