mirror of
https://github.com/aseprite/aseprite.git
synced 2024-10-04 05:50:15 +00:00
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:
parent
982a171995
commit
d0a694cbb1
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user