fix: windows build, uncap fps, double buffer, remove Sleep(0),

This commit is contained in:
2026-07-14 09:51:14 -07:00
parent 976f55c46d
commit dd19188d93
7 changed files with 8 additions and 45 deletions
@@ -498,7 +498,7 @@ app.DebugPrintf("width: %d, height: %d\n", width, height);
DXGI_SWAP_CHAIN_DESC sd;
ZeroMemory( &sd, sizeof( sd ) );
sd.BufferCount = 1;
sd.BufferCount = 2;
sd.BufferDesc.Width = width;
sd.BufferDesc.Height = height;
sd.BufferDesc.Format = DXGI_FORMAT_R8G8B8A8_UNORM;