Swallow DllNotFoundException in Sdl2 constructor
This commit is contained in:
parent
b66912a8e1
commit
da684d233e
1 changed files with 8 additions and 1 deletions
|
@ -47,7 +47,14 @@ namespace OpenTK.Platform.SDL2
|
|||
|
||||
static SDL()
|
||||
{
|
||||
GetVersion(out Version);
|
||||
try
|
||||
{
|
||||
GetVersion(out Version);
|
||||
}
|
||||
catch
|
||||
{
|
||||
// nom nom
|
||||
}
|
||||
}
|
||||
|
||||
#region Functions
|
||||
|
|
Loading…
Reference in a new issue