Commit 4239fcc4 authored by Joshua Ashton's avatar Joshua Ashton 🐸

[d3d9] Add missing lock to ProcessVertices

parent 33e51af1
......@@ -2395,6 +2395,8 @@ namespace dxvk {
IDirect3DVertexBuffer9* pDestBuffer,
IDirect3DVertexDeclaration9* pVertexDecl,
DWORD Flags) {
D3D9DeviceLock lock = LockDevice();
if (unlikely(pDestBuffer == nullptr || pVertexDecl == nullptr))
return D3DERR_INVALIDCALL;
......
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