wined3d: Return success in wined3d_buffer_load_location() when the location is already current.
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
afb2aa2512
commit
ca6014b19a
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue