[PATCH 1/3] d2d1: Use correct interpolation mode enum type member.

Nikolay Sivov nsivov at codeweavers.com
Thu Oct 4 06:37:32 CDT 2018


Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
---
 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 9c73ae1d88..dd3da32610 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);
-- 
2.19.0




More information about the wine-devel mailing list