mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-15 03:30:53 +01:00
Move SDL3 binding to NuGet package (#6184)
I'm worried about the IDE performance overhead of the 20k lines of LibraryImport it generates into Robust.Client. Also, this allows me to trim the binding, which saves a tiny amount of space from publishes. Always nice to have.
This commit is contained in:
committed by
GitHub
parent
1f1e50539b
commit
5268a4a3f0
@@ -30,15 +30,6 @@ namespace Robust.Client.Utility
|
||||
#endif
|
||||
}
|
||||
|
||||
if (name == SDL.nativeLibName)
|
||||
{
|
||||
#if LINUX || FREEBSD
|
||||
return NativeLibrary.Load("libSDL3.so.0", assembly, path);
|
||||
#elif MACOS
|
||||
return NativeLibrary.Load("libSDL3.0.dylib", assembly, path);
|
||||
#endif
|
||||
}
|
||||
|
||||
return IntPtr.Zero;
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user