Merge pull request #12498 from JustMeDaFaq/master

Fixing UWP builds
This commit is contained in:
Autechre 2021-06-07 15:52:55 +02:00 committed by GitHub
commit 1c61068291
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View File

@ -1666,7 +1666,9 @@ static bool d3d11_gfx_frame(
}
d3d11->sprites.enabled = false;
#if defined(_WIN32) && !defined(__WINRT__)
win32_update_title();
#endif
DXGIPresent(d3d11->swapChain, !!vsync, present_flags);
Release(rtv);

View File

@ -1612,8 +1612,10 @@ static bool d3d12_gfx_frame(
D3D12CloseGraphicsCommandList(d3d12->queue.cmd);
D3D12ExecuteGraphicsCommandLists(d3d12->queue.handle, 1, &d3d12->queue.cmd);
#if defined(_WIN32) && !defined(__WINRT__)
win32_update_title();
#endif
#if 1
DXGIPresent(d3d12->chain.handle, !!vsync, present_flags);
#else