mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2026-11-02 04:20:49 +01:00
Fix vertex declaration not getting set in guest device.
This commit is contained in:
1 parent
4d9e835c88
commit
cc2727d068
1 file changed
+2
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user