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
parent 8eb3ea4fa3
commit 8f1692a5ac
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;
}