mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-01-08 22:55:27 +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;
|
bool processed = false;
|
||||||
|
|
||||||
try
|
|
||||||
{
|
|
||||||
Sdl2NativeWindow window = null;
|
Sdl2NativeWindow window = null;
|
||||||
|
|
||||||
switch (ev.Type)
|
switch (ev.Type)
|
||||||
|
@ -215,11 +214,6 @@ namespace OpenTK.Platform.SDL2
|
||||||
Debug.WriteLine("Sdl2 application quit");
|
Debug.WriteLine("Sdl2 application quit");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
catch (Exception ex)
|
|
||||||
{
|
|
||||||
Debug.Print(ex.ToString());
|
|
||||||
}
|
|
||||||
|
|
||||||
return processed ? 0 : 1;
|
return processed ? 0 : 1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue