mirror of
https://github.com/fabiangreffrath/woof.git
synced 2025-09-22 11:22:18 -04:00
fix CreateWaitableTimer on Windows 7
This commit is contained in:
parent
0a429432a9
commit
154ccf8849
@ -153,10 +153,11 @@ void I_InitTimer(void)
|
||||
CREATE_WAITABLE_TIMER_MANUAL_RESET
|
||||
| CREATE_WAITABLE_TIMER_HIGH_RESOLUTION,
|
||||
TIMER_ALL_ACCESS);
|
||||
#else
|
||||
hTimer = CreateWaitableTimer(NULL, TRUE, NULL);
|
||||
#endif
|
||||
|
||||
if (hTimer == NULL)
|
||||
{
|
||||
hTimer = CreateWaitableTimer(NULL, TRUE, NULL);
|
||||
}
|
||||
if (hTimer == NULL)
|
||||
{
|
||||
I_Error("I_InitTimer: CreateWaitableTimer failed");
|
||||
|
Loading…
x
Reference in New Issue
Block a user