Swallow DllNotFoundException in Sdl2 constructor

This commit is contained in:
parallels 2013-11-09 17:13:24 +01:00
parent b66912a8e1
commit da684d233e

View file

@ -46,9 +46,16 @@ namespace OpenTK.Platform.SDL2
public readonly static Version Version;
static SDL()
{
try
{
GetVersion(out Version);
}
catch
{
// nom nom
}
}
#region Functions