Commit d9fbb3f8 authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

d2d1: Do not multiply color brush RGB values with the brush opacity.

parent 7baf2a0f
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment