Commit ca6014b1 authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

wined3d: Return success in wined3d_buffer_load_location() when the location is already current.

parent afb2aa25
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment