mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-01-11 11:25:27 +00:00
Modify dllimport path on Android builds.
This commit is contained in:
parent
6df11a8564
commit
915ead34cb
|
@ -31,6 +31,14 @@ namespace OpenTK.Platform.SDL2
|
|||
{
|
||||
partial class SDL
|
||||
{
|
||||
#if ANDROID
|
||||
const string nativeLibName = "libSDL2.so";
|
||||
#elif IPHONE
|
||||
const string nativeLibName = "__Internal";
|
||||
#else
|
||||
const string nativeLibName = "SDL2.dll";
|
||||
#endif
|
||||
|
||||
public readonly static object Sync = new object();
|
||||
public readonly static SDL_version Version;
|
||||
|
||||
|
|
|
@ -40,11 +40,6 @@ namespace OpenTK.Platform.SDL2
|
|||
{
|
||||
#region SDL2# Variables
|
||||
|
||||
/// <summary>
|
||||
/// Used by DllImport to load the native library.
|
||||
/// </summary>
|
||||
private const string nativeLibName = "SDL2.dll";
|
||||
|
||||
#endregion
|
||||
|
||||
#region SDL_stdinc.h
|
||||
|
|
Loading…
Reference in a new issue