mirror of https://github.com/OpenTTD/OpenTTD
Codechange: [Win32] use CSleep() instead of Sleep() like everywhere else
Functional it is identical. Just helps future-us when searching for sleeps.pull/8588/head
parent
689404a4a1
commit
881d17d8f1
|
@ -1241,7 +1241,7 @@ void VideoDriver_Win32::MainLoop()
|
|||
|
||||
/* Release the thread while sleeping */
|
||||
if (_draw_threaded) draw_lock.unlock();
|
||||
Sleep(1);
|
||||
CSleep(1);
|
||||
if (_draw_threaded) draw_lock.lock();
|
||||
|
||||
NetworkDrawChatMessage();
|
||||
|
|
Loading…
Reference in New Issue