mirror of
https://github.com/aseprite/aseprite.git
synced 2025-03-29 19:20:09 +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 21957f21642a98422612bc1b268b20c7377f0eff).
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…
x
Reference in New Issue
Block a user