Add capture using WinRT Windows.Graphics.Capture API. (#2149)

Co-authored-by: ReenigneArcher <42013603+ReenigneArcher@users.noreply.github.com>
This commit is contained in:
Tejas Rao 2024-03-27 20:47:26 -07:00 committed by GitHub
commit 8f1692a5ac
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
16 changed files with 736 additions and 201 deletions

View file

@ -1691,8 +1691,8 @@ namespace platf {
}
int64_t
qpc_counter() {
LARGE_INTEGER performace_counter;
if (QueryPerformanceCounter(&performace_counter)) return performace_counter.QuadPart;
LARGE_INTEGER performance_counter;
if (QueryPerformanceCounter(&performance_counter)) return performance_counter.QuadPart;
return 0;
}