Add log for presents

This commit is contained in:
cdozdil
2025-08-20 01:09:55 +03:00
parent 23d591109b
commit d23237410a
+2
View File
@@ -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);
}