From b1b220cdc69752c8577d9e7e6d99e25d516f6919 Mon Sep 17 00:00:00 2001 From: MrScautHD <65916181+MrScautHD@users.noreply.github.com> Date: Fri, 7 Jun 2024 17:40:05 +0200 Subject: [PATCH] Update WinGlContext.cs --- src/Raylib-CSharp/Rendering/Gl/Contexts/WinGlContext.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Raylib-CSharp/Rendering/Gl/Contexts/WinGlContext.cs b/src/Raylib-CSharp/Rendering/Gl/Contexts/WinGlContext.cs index 77535b7..687acbf 100644 --- a/src/Raylib-CSharp/Rendering/Gl/Contexts/WinGlContext.cs +++ b/src/Raylib-CSharp/Rendering/Gl/Contexts/WinGlContext.cs @@ -51,7 +51,7 @@ public nint GetProcAddress(string procName) { /// If the function fails, the return value is . To get extended error information, call . /// [LibraryImport(Kernel32, EntryPoint = "LoadLibraryA", SetLastError = true, StringMarshalling = StringMarshalling.Utf8)] - private static partial nint LoadLibrary([MarshalAs(UnmanagedType.LPStr)] string fileName); + private static partial nint LoadLibrary(string fileName); /// /// Retrieves the address of an exported function or variable from the specified dynamic-link library (DLL).