[PATCH 1/7] wined3d: Fix return type for surface_load_texture().

Józef Kucia jkucia at codeweavers.com
Thu Feb 23 08:00:52 CST 2017


Signed-off-by: Józef Kucia <jkucia at codeweavers.com>
---
 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;
-- 
2.10.2




More information about the wine-patches mailing list