mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-12-11 01:24:12 +01:00
[dxgi] Add stub implementation of DXGI_PRESENT_TEST
This commit is contained in:
parent
7ddd2500d1
commit
45a03b11be
@ -158,6 +158,9 @@ namespace dxvk {
|
|||||||
HRESULT STDMETHODCALLTYPE DxgiSwapChain::Present(UINT SyncInterval, UINT Flags) {
|
HRESULT STDMETHODCALLTYPE DxgiSwapChain::Present(UINT SyncInterval, UINT Flags) {
|
||||||
std::lock_guard<std::recursive_mutex> lock(m_mutex);
|
std::lock_guard<std::recursive_mutex> lock(m_mutex);
|
||||||
|
|
||||||
|
if (Flags & DXGI_PRESENT_TEST)
|
||||||
|
return S_OK;
|
||||||
|
|
||||||
try {
|
try {
|
||||||
// Submit pending rendering commands
|
// Submit pending rendering commands
|
||||||
// before recording the present code.
|
// before recording the present code.
|
||||||
|
Loading…
Reference in New Issue
Block a user