mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-07-16 16:37:34 +00:00
parent
ecd7db99c1
commit
6493ab0188
|
@ -58,6 +58,7 @@ namespace OpenTK.Platform.Windows
|
||||||
WndProc = WindowProcedure;
|
WndProc = WindowProcedure;
|
||||||
|
|
||||||
InputThread = new Thread(ProcessEvents);
|
InputThread = new Thread(ProcessEvents);
|
||||||
|
InputThread.SetApartmentState(ApartmentState.STA);
|
||||||
InputThread.IsBackground = true;
|
InputThread.IsBackground = true;
|
||||||
InputThread.Start();
|
InputThread.Start();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue