diff options
author | Patric Stout <truebrain@openttd.org> | 2021-01-17 15:41:54 +0100 |
---|---|---|
committer | Michael Lutz <michi@icosahedron.de> | 2021-01-17 19:57:36 +0100 |
commit | 881d17d8f1e48949e62326ed112fc45d861c3aa6 (patch) | |
tree | 7c188e0c6e1d3e6228b949bf9712689de94920f3 /src | |
parent | 689404a4a1ca91d33ad78875a66bf7b0821f2f4f (diff) | |
download | openttd-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')
-rw-r--r-- | src/video/win32_v.cpp | 2 |
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(); |