mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-03 16:40:44 +00:00
6aca8fac04
`CreateThread` expects `lpStartAddress` to be a function with the signature DWORD WINAPI ThreadProc( _In_ LPVOID lpParameter ); on Win32 `WINAPI` is `__stdcall`, but `CheckHookThread` previously had the effective signature DWORD __cdecl CheckHookThread(LPVOID param); because the calling convention was unspecified. The cast that was hiding this error is also removed.