diff options
author | michi_cc <michi_cc@openttd.org> | 2016-10-30 18:22:55 +0000 |
---|---|---|
committer | michi_cc <michi_cc@openttd.org> | 2016-10-30 18:22:55 +0000 |
commit | c83306391e78d660b4c7b1bfef4008ccd5c7e172 (patch) | |
tree | 017d634c46d1344a498e441b811972601f162028 /src/video/win32_v.cpp | |
parent | b2fe2c6e3d5570861fcca497da4c7dc8d94078cf (diff) | |
download | openttd-c83306391e78d660b4c7b1bfef4008ccd5c7e172.tar.xz |
(svn r27673) -Add: [Win32] Thread names for windows debuggers.
Diffstat (limited to 'src/video/win32_v.cpp')
-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 4dcc9eb70..c37ebd7dd 100644 --- a/src/video/win32_v.cpp +++ b/src/video/win32_v.cpp @@ -1199,7 +1199,7 @@ void VideoDriver_Win32::MainLoop() _draw_threaded = false; } else { _draw_continue = true; - _draw_threaded = ThreadObject::New(&PaintWindowThread, NULL, &_draw_thread); + _draw_threaded = ThreadObject::New(&PaintWindowThread, NULL, &_draw_thread, "ottd:draw-win32"); /* Free the mutex if we won't be able to use it. */ if (!_draw_threaded) { |