=?UTF-8?Q?J=C3=B3zef=20Kucia=20?=: wined3d: Fix return type for surface_load_texture().

Alexandre Julliard julliard at winehq.org
Thu Feb 23 16:27:51 CST 2017


Module: wine
Branch: master
Commit: 80b17bef3b75543d4ab6805e2a42dd51c46dca43
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=80b17bef3b75543d4ab6805e2a42dd51c46dca43

Author: Józef Kucia <jkucia at codeweavers.com>
Date:   Thu Feb 23 15:00:52 2017 +0100

wined3d: Fix return type for surface_load_texture().

Signed-off-by: Józef Kucia <jkucia at codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

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

diff --git a/dlls/wined3d/surface.c b/dlls/wined3d/surface.c
index 449c1fa..399f436 100644
--- a/dlls/wined3d/surface.c
+++ b/dlls/wined3d/surface.c
@@ -2540,7 +2540,7 @@ static BOOL surface_load_drawable(struct wined3d_surface *surface,
     return TRUE;
 }
 
-static HRESULT surface_load_texture(struct wined3d_surface *surface,
+static BOOL surface_load_texture(struct wined3d_surface *surface,
         struct wined3d_context *context, BOOL srgb)
 {
     unsigned int width, height, src_row_pitch, src_slice_pitch, dst_row_pitch, dst_slice_pitch;




More information about the wine-cvs mailing list