Commit 68ae3f43 authored by Joshua Ashton's avatar Joshua Ashton 🐸

[d3d9] Return D3D_OK when unlocking not locked textures

Matches D3D9 behaviour
parent 124023ba
Pipeline #1219 passed with stage
in 4 minutes and 11 seconds
......@@ -4137,7 +4137,7 @@ namespace dxvk {
// We weren't locked anyway!
if (unlikely(!pResource->GetLocked(Subresource)))
return D3DERR_INVALIDCALL;
return D3D_OK;
pResource->SetLocked(Subresource, false);
......
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