mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
libs/vkd3d: Fix draws with no render targets.
This commit is contained in:
parent
8f631c8b0c
commit
1f22a9bb6b
@ -2836,6 +2836,11 @@ static void STDMETHODCALLTYPE d3d12_command_list_OMSetRenderTargets(ID3D12Graphi
|
|||||||
|
|
||||||
d3d12_command_list_track_resource_usage(list, dsv_desc->resource);
|
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;
|
list->views[0] = dsv_desc->vk_view;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user