mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-01-28 13:05:02 -08:00
vkd3d: Ignore D3D_PRIMITIVE_TOPOLOGY_UNDEFINED.
Signed-off-by: Józef Kucia <jkucia@codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
39886b2386
commit
fa6304ee04
@ -2910,6 +2910,12 @@ static void STDMETHODCALLTYPE d3d12_command_list_IASetPrimitiveTopology(ID3D12Gr
|
||||
|
||||
TRACE("iface %p, topology %#x.\n", iface, topology);
|
||||
|
||||
if (topology == D3D_PRIMITIVE_TOPOLOGY_UNDEFINED)
|
||||
{
|
||||
WARN("Ignoring D3D_PRIMITIVE_TOPOLOGY_UNDEFINED.\n");
|
||||
return;
|
||||
}
|
||||
|
||||
list->primitive_topology = vk_topology_from_d3d12_topology(topology);
|
||||
d3d12_command_list_invalidate_current_pipeline(list);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user