[PATCH 5/5] wined3d: Return success in wined3d_buffer_load_location() when the location is already current.
Henri Verbeet
hverbeet at codeweavers.com
Mon Jan 30 06:04:41 CST 2017
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
---
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)
--
2.1.4
More information about the wine-patches
mailing list