More priority for GUI thread, it is necessary for better GUI response in presence of background threads (this change was removed in commit 21957f2164).

This commit is contained in:
David Capello 2010-11-06 20:05:37 -03:00
parent 982a171995
commit d0a694cbb1

View File

@ -495,6 +495,7 @@ int init_directx_window(void)
switch (result) {
case WAIT_OBJECT_0: /* window was created successfully */
wnd_thread = events[1];
SetThreadPriority(wnd_thread, THREAD_PRIORITY_ABOVE_NORMAL);
break;
default: /* thread failed to create window */
return -1;