mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-03-08 10:10:00 +00:00
Fixed convenience return type implementation
This commit is contained in:
parent
ec67232e88
commit
e48a624003
|
@ -251,7 +251,7 @@ namespace OpenTK.Rewrite
|
|||
// GetBooleanv(pname, &result);
|
||||
// return result;
|
||||
// }
|
||||
body.Variables.Add(new VariableDefinition(native.ReturnType));
|
||||
body.Variables.Add(new VariableDefinition(wrapper.ReturnType));
|
||||
il.Emit(OpCodes.Ldloca, body.Variables.Count - 1);
|
||||
}
|
||||
else if (difference == 1 && wrapper.ReturnType.Name == "Void")
|
||||
|
|
Loading…
Reference in a new issue