ebitengine / purego

Apache License 2.0
1.94k stars 63 forks source link

purego: remove r1, r2, err fields as they are no longer used #218

Closed TotallyGamerJet closed 4 months ago

TotallyGamerJet commented 4 months ago

When struct returns were added I stopped using r1, and r2 for return values. In doing so I did not update purego.SyscallN which ebitengine uses for Metal and OpenGL. This PR fully removes those fields and fixes purego.SyscallN to return the proper values.

Closes #217