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).