mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-03-14 04:29:15 +01:00
[dxgi] Use high_resolution_clock get_counter instead of QPC for SyncQPCTime
Abstracts this across platforms
This commit is contained in:
parent
9610e29a65
commit
a4261ddd14
@ -171,7 +171,7 @@ namespace dxvk {
|
||||
pStats->PresentCount = m_presentCount;
|
||||
pStats->PresentRefreshCount = 0;
|
||||
pStats->SyncRefreshCount = 0;
|
||||
QueryPerformanceCounter(&pStats->SyncQPCTime);
|
||||
pStats->SyncQPCTime.QuadPart = dxvk::high_resolution_clock::get_counter();
|
||||
pStats->SyncGPUTime.QuadPart = 0;
|
||||
return S_OK;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user