(svn r27673) -Add: [Win32] Thread names for windows debuggers.

This commit is contained in:
michi_cc
2016-10-30 18:22:55 +00:00
parent b2fe2c6e3d
commit c83306391e
7 changed files with 59 additions and 4 deletions

View File

@@ -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) {