mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-03-06 20:58:37 +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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue