ebitengine/purego

Struct with float32s passed alongside other float32s as arguments is broken on GOARCH=amd64

SealOfTime opened this issue · 1 comments

https://gist.github.com/SealOfTime/f5a962a2182c1c9b264117ebac18fe50

When passing a structure, containing float32s, to a function alongside other float32 the resulting arguments are messed up.

Tested on GOOS=darwin GOARCH=amd64. Was able to reproduce with GOOS=linux by disabling panic, that restricts the feature only to darwin.

GOOS=darwin GOARCH=arm64 works well

I will take a look at what I can do with it on this week