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.
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