mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-01-28 13:05:02 -08:00
vkd3d: Ignore d3d12_command_list_IASetVertexBuffers() calls with NULL views.
Part of a vkd3d-proton patch by Hans-Kristian Arntzen. Signed-off-by: Conor McCarthy <cmccarthy@codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
e7e46be371
commit
f172647d5e
@ -4498,6 +4498,12 @@ static void STDMETHODCALLTYPE d3d12_command_list_IASetVertexBuffers(ID3D12Graphi
|
||||
return;
|
||||
}
|
||||
|
||||
if (!views)
|
||||
{
|
||||
WARN("NULL \"views\" pointer specified.\n");
|
||||
return;
|
||||
}
|
||||
|
||||
for (i = 0; i < view_count; ++i)
|
||||
{
|
||||
if (views[i].BufferLocation)
|
||||
|
Loading…
x
Reference in New Issue
Block a user