diff --git a/src/d3d9/d3d9_device.cpp b/src/d3d9/d3d9_device.cpp index de21d1f7a..641ba2ebd 100644 --- a/src/d3d9/d3d9_device.cpp +++ b/src/d3d9/d3d9_device.cpp @@ -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);