Module: wine Branch: master Commit: 80b17bef3b75543d4ab6805e2a42dd51c46dca43 URL: http://source.winehq.org/git/wine.git/?a=commit;h=80b17bef3b75543d4ab6805e2a...
Author: Józef Kucia jkucia@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@codeweavers.com Signed-off-by: Henri Verbeet hverbeet@codeweavers.com Signed-off-by: Alexandre Julliard julliard@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;