Henri Verbeet : wined3d: Return success in wined3d_buffer_load_location() when the location is already current.
Module: wine Branch: master Commit: ca6014b19aad2b826c276daea14755e915b40d09 URL: http://source.winehq.org/git/wine.git/?a=commit;h=ca6014b19aad2b826c276daea1... Author: Henri Verbeet <hverbeet(a)codeweavers.com> Date: Mon Jan 30 13:04:41 2017 +0100 wined3d: Return success in wined3d_buffer_load_location() when the location is already current. Signed-off-by: Henri Verbeet <hverbeet(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- dlls/wined3d/buffer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/wined3d/buffer.c b/dlls/wined3d/buffer.c index abf3f7f..6b48d98 100644 --- a/dlls/wined3d/buffer.c +++ b/dlls/wined3d/buffer.c @@ -574,7 +574,7 @@ BOOL wined3d_buffer_load_location(struct wined3d_buffer *buffer, if (buffer->locations & location) { TRACE("Location (%#x) is already up to date.\n", location); - return WINED3D_OK; + return TRUE; } if (!buffer->locations)
participants (1)
-
Alexandre Julliard