diff options
| author | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2021-11-07 11:34:04 +0100 |
|---|---|---|
| committer | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2021-11-07 11:34:04 +0100 |
| commit | dbb9034d864fc42f92a66b08a0734edc3dc73e8c (patch) | |
| tree | b5498e51945c1bb47f8b01a40fdc1c24087ea725 /Samples/PerfTests/Program.cs | |
| parent | 325573e4c0328189cf2353b31fc68780224bbc57 (diff) | |
doc, remplated menubar for showcase, disposable cursorParent in sliderdevel2
Diffstat (limited to 'Samples/PerfTests/Program.cs')
| -rw-r--r-- | Samples/PerfTests/Program.cs | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/Samples/PerfTests/Program.cs b/Samples/PerfTests/Program.cs index 222b7e7a..d7f6a9be 100644 --- a/Samples/PerfTests/Program.cs +++ b/Samples/PerfTests/Program.cs @@ -14,26 +14,6 @@ namespace PerfTests { class TestInterface : Interface { -#if NETCOREAPP - static IntPtr resolveUnmanaged (Assembly assembly, String libraryName) { - - switch (libraryName) - { - case "cairo": - return NativeLibrary.Load("cairo-2", assembly, null); - case "glfw3": - return NativeLibrary.Load("glfw", assembly, null); - case "rsvg-2.40": - return NativeLibrary.Load("rsvg-2", assembly, null); - } - Console.WriteLine ($"[UNRESOLVE] {assembly} {libraryName}"); - return IntPtr.Zero; - } - - static TestInterface () { - System.Runtime.Loader.AssemblyLoadContext.Default.ResolvingUnmanagedDll+=resolveUnmanaged; - } -#endif readonly int count = 10, updateCycles = 0; readonly bool screenOutput = false; readonly string inDirectory = null;//directory to test |