Henri Verbeet : d2d1: Do not multiply color brush RGB values with the brush opacity.
Module: wine Branch: master Commit: d9fbb3f847ed7ef050820348a130299953571c91 URL: http://source.winehq.org/git/wine.git/?a=commit;h=d9fbb3f847ed7ef050820348a1... Author: Henri Verbeet <hverbeet(a)codeweavers.com> Date: Mon Mar 30 09:17:04 2015 +0200 d2d1: Do not multiply color brush RGB values with the brush opacity. --- dlls/d2d1/render_target.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/dlls/d2d1/render_target.c b/dlls/d2d1/render_target.c index da8937c..c078989 100644 --- a/dlls/d2d1/render_target.c +++ b/dlls/d2d1/render_target.c @@ -636,9 +636,6 @@ static void STDMETHODCALLTYPE d2d_d3d_render_target_FillRectangle(ID2D1RenderTar ps = render_target->rect_solid_ps; color = brush_impl->u.solid.color; - color.r *= brush_impl->opacity; - color.g *= brush_impl->opacity; - color.b *= brush_impl->opacity; color.a *= brush_impl->opacity; buffer_desc.ByteWidth = sizeof(color);
participants (1)
-
Alexandre Julliard