summaryrefslogtreecommitdiff
path: root/src/video
diff options
context:
space:
mode:
authorPatric Stout <truebrain@openttd.org>2021-01-17 15:41:54 +0100
committerMichael Lutz <michi@icosahedron.de>2021-01-17 19:57:36 +0100
commit881d17d8f1e48949e62326ed112fc45d861c3aa6 (patch)
tree7c188e0c6e1d3e6228b949bf9712689de94920f3 /src/video
parent689404a4a1ca91d33ad78875a66bf7b0821f2f4f (diff)
downloadopenttd-881d17d8f1e48949e62326ed112fc45d861c3aa6.tar.xz
Codechange: [Win32] use CSleep() instead of Sleep() like everywhere else
Functional it is identical. Just helps future-us when searching for sleeps.
Diffstat (limited to 'src/video')
-rw-r--r--src/video/win32_v.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video/win32_v.cpp b/src/video/win32_v.cpp
index 57a481bd8..2f464fae2 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();