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