mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-01-24 23:21:12 +00:00
fix platform detection in nativelibrary
This commit is contained in:
parent
cc02000e6d
commit
6cac24a9aa
|
@ -62,7 +62,7 @@ namespace OpenTK
|
||||||
|
|
||||||
public static NativeLibrary Load(string libraryName)
|
public static NativeLibrary Load(string libraryName)
|
||||||
{
|
{
|
||||||
#if NETCORE
|
#if NETSTANDARD
|
||||||
if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows))
|
if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows))
|
||||||
{
|
{
|
||||||
return new WindowsNativeLibrary(libraryName);
|
return new WindowsNativeLibrary(libraryName);
|
||||||
|
|
Loading…
Reference in a new issue