demos: Use 3 swapchain images.

Mesa drivers increased minImageCount to 3.

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:
Józef Kucia
2019-07-17 18:05:15 +02:00
committed by Alexandre Julliard
parent 548437ce22
commit 8bb34406e2
2 changed files with 29 additions and 24 deletions

View File

@@ -73,7 +73,7 @@ struct cx_triangle
struct demo_swapchain *swapchain;
ID3D12DescriptorHeap *rtv_heap;
unsigned int rtv_descriptor_size;
ID3D12Resource *render_targets[2];
ID3D12Resource *render_targets[3];
ID3D12CommandAllocator *command_allocator;
ID3D12RootSignature *root_signature;