Skip to content

Commit

Permalink
Update WinGlContext.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
MrScautHD committed Jun 7, 2024
1 parent 457234e commit b1b220c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Raylib-CSharp/Rendering/Gl/Contexts/WinGlContext.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public nint GetProcAddress(string procName) {
/// If the function fails, the return value is <see cref="nint.Zero"/>. To get extended error information, call <see cref="Marshal.GetLastWin32Error"/>.
/// </returns>
[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);

/// <summary>
/// Retrieves the address of an exported function or variable from the specified dynamic-link library (DLL).
Expand Down

0 comments on commit b1b220c

Please # to comment.