Potential fix for #7 and #8

This commit is contained in:
Alessandro Proto 2023-02-21 18:30:44 +01:00
parent aee3434b44
commit 2a84c8cb35

View file

@ -20,7 +20,7 @@ namespace Capy64.Extensions.Bindings;
public partial class SDL2 public partial class SDL2
{ {
private const string SDL = "SDL2.dll"; private const string SDL = "SDL2";
[LibraryImport(SDL)] [LibraryImport(SDL)]
[UnmanagedCallConv(CallConvs = new Type[] { typeof(System.Runtime.CompilerServices.CallConvCdecl) })] [UnmanagedCallConv(CallConvs = new Type[] { typeof(System.Runtime.CompilerServices.CallConvCdecl) })]