mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2025-12-23 16:32:22 +00:00
Fix vertex declaration not getting set in guest device.
This commit is contained in:
parent
4d9e835c88
commit
cc2727d068
1 changed files with 2 additions and 0 deletions
|
|
@ -2996,6 +2996,8 @@ static void SetVertexDeclaration(GuestDevice* device, GuestVertexDeclaration* ve
|
|||
cmd.type = RenderCommandType::SetVertexDeclaration;
|
||||
cmd.setVertexDeclaration.vertexDeclaration = vertexDeclaration;
|
||||
g_renderQueue.enqueue(cmd);
|
||||
|
||||
device->vertexDeclaration = g_memory.MapVirtual(vertexDeclaration);
|
||||
}
|
||||
|
||||
static void ProcSetVertexDeclaration(const RenderCommand& cmd)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue