mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-06-19 09:07:52 +00:00
parent
93e7b896c2
commit
a251617e9b
|
@ -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