mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-01-09 19:35:44 +00:00
Swallow DllNotFoundException in Sdl2 constructor
This commit is contained in:
parent
b66912a8e1
commit
da684d233e
|
@ -47,7 +47,14 @@ namespace OpenTK.Platform.SDL2
|
||||||
|
|
||||||
static SDL()
|
static SDL()
|
||||||
{
|
{
|
||||||
GetVersion(out Version);
|
try
|
||||||
|
{
|
||||||
|
GetVersion(out Version);
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{
|
||||||
|
// nom nom
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#region Functions
|
#region Functions
|
||||||
|
|
Loading…
Reference in a new issue