Codechange: [Win32] use CSleep() instead of Sleep() like everywhere else

Functional it is identical. Just helps future-us when searching
for sleeps.
This commit is contained in:
Patric Stout
2021-01-17 15:41:54 +01:00
committed by Michael Lutz
parent 689404a4a1
commit 881d17d8f1

View File

@@ -1241,7 +1241,7 @@ void VideoDriver_Win32::MainLoop()
/* Release the thread while sleeping */ /* Release the thread while sleeping */
if (_draw_threaded) draw_lock.unlock(); if (_draw_threaded) draw_lock.unlock();
Sleep(1); CSleep(1);
if (_draw_threaded) draw_lock.lock(); if (_draw_threaded) draw_lock.lock();
NetworkDrawChatMessage(); NetworkDrawChatMessage();