mirror of
https://github.com/aseprite/aseprite.git
synced 2025-04-01 01:20:25 +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) {
|
switch (result) {
|
||||||
case WAIT_OBJECT_0: /* window was created successfully */
|
case WAIT_OBJECT_0: /* window was created successfully */
|
||||||
wnd_thread = events[1];
|
wnd_thread = events[1];
|
||||||
|
SetThreadPriority(wnd_thread, THREAD_PRIORITY_ABOVE_NORMAL);
|
||||||
break;
|
break;
|
||||||
default: /* thread failed to create window */
|
default: /* thread failed to create window */
|
||||||
return -1;
|
return -1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user