mirror of
https://github.com/optiscaler/OptiScaler.git
synced 2026-09-23 05:46:27 +00:00
Add log for presents
This commit is contained in:
@@ -343,12 +343,14 @@ static HRESULT FGPresent(void* This, UINT SyncInterval, UINT Flags, const DXGI_P
|
||||
|
||||
static HRESULT hkFGPresent(void* This, UINT SyncInterval, UINT Flags)
|
||||
{
|
||||
LOG_DEBUG("SyncInterval: {}, Flags: {:X}", SyncInterval, Flags);
|
||||
return FGPresent(This, SyncInterval, Flags, nullptr);
|
||||
}
|
||||
|
||||
static HRESULT hkFGPresent1(void* This, UINT SyncInterval, UINT Flags,
|
||||
const DXGI_PRESENT_PARAMETERS* pPresentParameters)
|
||||
{
|
||||
LOG_DEBUG("SyncInterval: {}, Flags: {:X}", SyncInterval, Flags);
|
||||
return FGPresent(This, SyncInterval, Flags, pPresentParameters);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user