Skip to content

Commit

Permalink
Fix d3d11entry.c swapchain surface warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
floooh committed Mar 9, 2024
1 parent 1c6c6f5 commit 80ad398
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions d3d11/d3d11entry.c
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,8 @@ void d3d11_init(const d3d11_desc_t* desc) {
},
.OutputWindow = state.hwnd,
.Windowed = true,
.SwapEffect = DXGI_SWAP_EFFECT_DISCARD,
.BufferCount = 1,
.SwapEffect = DXGI_SWAP_EFFECT_FLIP_DISCARD,
.BufferCount = 2,
.SampleDesc = {
.Count = (UINT) 1,
.Quality = (UINT) 0,
Expand Down

0 comments on commit 80ad398

Please sign in to comment.