mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-22 20:45:38 +00:00
* Rethrow exception from main event loop in SDL. Fixed #735 * Remove try-catch
This commit is contained in:
parent
8ec577b9ca
commit
067cd4a5bc
|
@ -146,8 +146,7 @@ namespace OpenTK.Platform.SDL2
|
|||
{
|
||||
bool processed = false;
|
||||
|
||||
try
|
||||
{
|
||||
|
||||
Sdl2NativeWindow window = null;
|
||||
|
||||
switch (ev.Type)
|
||||
|
@ -215,11 +214,6 @@ namespace OpenTK.Platform.SDL2
|
|||
Debug.WriteLine("Sdl2 application quit");
|
||||
break;
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
Debug.Print(ex.ToString());
|
||||
}
|
||||
|
||||
return processed ? 0 : 1;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue