From 881d17d8f1e48949e62326ed112fc45d861c3aa6 Mon Sep 17 00:00:00 2001 From: Patric Stout Date: Sun, 17 Jan 2021 15:41:54 +0100 Subject: [PATCH] Codechange: [Win32] use CSleep() instead of Sleep() like everywhere else Functional it is identical. Just helps future-us when searching for sleeps. --- src/video/win32_v.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video/win32_v.cpp b/src/video/win32_v.cpp index 57a481bd8f..2f464fae23 100644 --- a/src/video/win32_v.cpp +++ b/src/video/win32_v.cpp @@ -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();