mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2026-01-04 16:37:28 -06:00
Fix vertex declaration not getting set in guest device.
This commit is contained in:
@@ -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