Skip to content

Commit

Permalink
D3D11: Preserve swapchain flags for ResizeBuffers
Browse files Browse the repository at this point in the history
  • Loading branch information
flibitijibibo committed Oct 14, 2023
1 parent 7654843 commit f78bf77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/FNA3D_Driver_D3D11.c
Original file line number Diff line number Diff line change
Expand Up @@ -5726,7 +5726,7 @@ static HRESULT D3D11_PLATFORM_ResizeSwapChain(
0, /* get width from window */
0, /* get height from window */
DXGI_FORMAT_UNKNOWN, /* keep the old format */
0
renderer->supportsTearing ? 2048 : 0 /* See CreateSwapChain */
);
}

Expand Down

0 comments on commit f78bf77

Please sign in to comment.