-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Panic when drawing off the edge of an offscreen image #8
Comments
It very much looks like the TODO in Golang's code at fault: https://cs.opensource.google/go/x/image/+/refs/tags/v0.7.0:vector/vector.go;l=268. We probably want to get the actual values of bounds and points and rects to debug. It should be patchable from etxt's end, but that's not very ideal; a more minimal example reported to Golang directly may be the way to go here. I'll look into it when I can, but it may take a few days. I'm particularly interested in a more minimal example because since this doesn't seem to be etxt's fault, it may also affect |
I tried to compile your project to reproduce the issue and try the quickfix with
Edit: I guess it's due to you testing on linux and me using windows at the moment, the paths may not be properly handled. |
Jesus; I literally did the same thing a few weeks ago and I think you pointed it out in the Ebitengine Discord. After this Game jam I'm making a resources library and never writing this code again. ;) EDIT:
You're trying too hard. Thanks! I really appreciate it. Feel free to kick it back to me next time, though. There ought to be precompiled yarn files in the repo. |
Seen at commit24101a8
The text was updated successfully, but these errors were encountered: