Nikolay Sivov : d2d1: Use correct interpolation mode enum type member.

Alexandre Julliard julliard at winehq.org
Thu Oct 4 17:14:44 CDT 2018


Module: wine
Branch: master
Commit: 00b40eac91301380247d2930f5b7ee5caa7cf791
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=00b40eac91301380247d2930f5b7ee5caa7cf791

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Thu Oct  4 14:37:32 2018 +0300

d2d1: Use correct interpolation mode enum type member.

Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/d2d1/brush.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/d2d1/brush.c b/dlls/d2d1/brush.c
index 9c73ae1..dd3da32 100644
--- a/dlls/d2d1/brush.c
+++ b/dlls/d2d1/brush.c
@@ -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);




More information about the wine-cvs mailing list