d2d1: Use correct interpolation mode enum type member.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Nikolay Sivov 2018-10-04 14:37:32 +03:00 committed by Alexandre Julliard
parent af605f8b38
commit 00b40eac91
1 changed files with 1 additions and 1 deletions

View File

@ -1113,7 +1113,7 @@ HRESULT d2d_bitmap_brush_create(ID2D1Factory *factory, ID2D1Bitmap *bitmap,
{
(*brush)->u.bitmap.extend_mode_x = D2D1_EXTEND_MODE_CLAMP;
(*brush)->u.bitmap.extend_mode_y = D2D1_EXTEND_MODE_CLAMP;
(*brush)->u.bitmap.interpolation_mode = D2D1_BITMAP_INTERPOLATION_MODE_LINEAR;
(*brush)->u.bitmap.interpolation_mode = D2D1_INTERPOLATION_MODE_LINEAR;
}
TRACE("Created brush %p.\n", *brush);