mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-23 20:05:30 +00:00
Fixed calling convention for non-Windows platforms
This commit is contained in:
parent
e65f206554
commit
0f609f6e22
|
@ -120,7 +120,7 @@ namespace OpenTK.Rewrite
|
||||||
{
|
{
|
||||||
var signature = new CallSite(reference.ReturnType)
|
var signature = new CallSite(reference.ReturnType)
|
||||||
{
|
{
|
||||||
CallingConvention = MethodCallingConvention.StdCall,
|
CallingConvention = MethodCallingConvention.Default,
|
||||||
};
|
};
|
||||||
if (reference is GenericInstanceMethod)
|
if (reference is GenericInstanceMethod)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue