Chip Davis : d2d1: Return enum constants directly in d2d_bitmap_brush_GetInterpolationMode() (Clang).
Alexandre Julliard
julliard at winehq.org
Tue Apr 7 15:27:15 CDT 2020
Module: wine
Branch: master
Commit: 69487dad1c60935502078fa6b38346b2e2e1689c
URL: https://source.winehq.org/git/wine.git/?a=commit;h=69487dad1c60935502078fa6b38346b2e2e1689c
Author: Chip Davis <cdavis at codeweavers.com>
Date: Mon Apr 6 17:51:58 2020 -0500
d2d1: Return enum constants directly in d2d_bitmap_brush_GetInterpolationMode() (Clang).
Signed-off-by: Chip Davis <cdavis 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 cc557ea9ef..675fa52e72 100644
--- a/dlls/d2d1/brush.c
+++ b/dlls/d2d1/brush.c
@@ -1010,8 +1010,8 @@ static D2D1_BITMAP_INTERPOLATION_MODE STDMETHODCALLTYPE d2d_bitmap_brush_GetInte
switch (brush->u.bitmap.interpolation_mode)
{
case D2D1_INTERPOLATION_MODE_NEAREST_NEIGHBOR:
+ return D2D1_BITMAP_INTERPOLATION_MODE_NEAREST_NEIGHBOR;
case D2D1_INTERPOLATION_MODE_LINEAR:
- return brush->u.bitmap.interpolation_mode;
default:
return D2D1_BITMAP_INTERPOLATION_MODE_LINEAR;
}
More information about the wine-cvs
mailing list