Józef Kucia : wined3d: Introduce gl_blend_from_d3d() helper function.