Skip to content

Commit

Permalink
(fix): Change swapchain swap effect to flip discard
Browse files Browse the repository at this point in the history
  • Loading branch information
hyblocker committed Sep 25, 2024
1 parent a034b5d commit cc45636
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Backends/RmlUi_Backend_Win32_DX11.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ static bool CreateDeviceD3D(HWND hwnd) {
sd.SampleDesc.Count = 1;
sd.SampleDesc.Quality = 0;
sd.Windowed = TRUE;
sd.SwapEffect = DXGI_SWAP_EFFECT_DISCARD;
sd.SwapEffect = DXGI_SWAP_EFFECT_FLIP_DISCARD;


UINT createDeviceFlags = 0;
Expand Down

0 comments on commit cc45636

Please sign in to comment.