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

oldstable
Henri Verbeet 2015-03-30 09:17:04 +02:00 committed by Alexandre Julliard
parent 7baf2a0f55
commit d9fbb3f847
1 changed files with 0 additions and 3 deletions

View File

@ -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);