mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-25 04:55:29 +00:00
Temporarily disabled GameWindowExitException.
This commit is contained in:
parent
b9c7a62d4f
commit
7ffbde31d1
|
@ -156,7 +156,7 @@ namespace OpenTK
|
|||
public virtual void Exit()
|
||||
{
|
||||
isExiting = true;
|
||||
UpdateFrame += CallExitInternal;
|
||||
//UpdateFrame += CallExitInternal;
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
@ -464,17 +464,12 @@ namespace OpenTK
|
|||
// return;
|
||||
//}
|
||||
|
||||
Debug.Print("Elevating priority.");
|
||||
Thread.CurrentThread.Priority = ThreadPriority.AboveNormal;
|
||||
|
||||
//ProcessEvents();
|
||||
//OnUpdateFrameInternal(update_args);
|
||||
//OnRenderFrameInternal(render_args);
|
||||
//Debug.Print("Elevating priority.");
|
||||
//Thread.CurrentThread.Priority = ThreadPriority.AboveNormal;
|
||||
|
||||
Debug.Print("Entering main loop.");
|
||||
while (!isExiting)
|
||||
{
|
||||
// Process events
|
||||
ProcessEvents();
|
||||
|
||||
// Raise UpdateFrame events
|
||||
|
|
Loading…
Reference in a new issue