Henri Verbeet : d2d1: Do not multiply color brush RGB values with the brush opacity.
Alexandre Julliard
julliard at wine.codeweavers.com
Mon Mar 30 10:12:58 CDT 2015
Module: wine
Branch: master
Commit: d9fbb3f847ed7ef050820348a130299953571c91
URL: http://source.winehq.org/git/wine.git/?a=commit;h=d9fbb3f847ed7ef050820348a130299953571c91
Author: Henri Verbeet <hverbeet at 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);
More information about the wine-cvs
mailing list