libs/vkd3d: Fix draws with no render targets.

This commit is contained in:
Józef Kucia 2017-08-18 14:52:40 +02:00
parent 8f631c8b0c
commit 1f22a9bb6b

View File

@ -2836,6 +2836,11 @@ static void STDMETHODCALLTYPE d3d12_command_list_OMSetRenderTargets(ID3D12Graphi
d3d12_command_list_track_resource_usage(list, dsv_desc->resource);
if (dsv_desc->width > list->fb_width)
list->fb_width = dsv_desc->width;
if (dsv_desc->height > list->fb_height)
list->fb_height = dsv_desc->height;
list->views[0] = dsv_desc->vk_view;
}