1
0
Fork 0

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
Patric Stout 2021-01-17 15:41:54 +01:00 committed by Michael Lutz
parent 689404a4a1
commit 881d17d8f1
1 changed files with 1 additions and 1 deletions

View File

@ -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();