Skip to content
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

Allegro 4's triangle() implementation is broken on OS X platform #1069

Open
raynebc opened this issue Aug 1, 2019 · 2 comments
Open

Allegro 4's triangle() implementation is broken on OS X platform #1069

raynebc opened this issue Aug 1, 2019 · 2 comments

Comments

@raynebc
Copy link

raynebc commented Aug 1, 2019

Elias and I communicated in the Allegro IRC channel:
https://pastebin.com/raw/rywdE7wL

We reached the conclusion that the logic no longer works in OS X at least as of High Sierra, specifically the use of _mac_sys_triangle() instead of the more generic polygon() function. I confirmed replacing my usage of triangle() with polygon() avoided rendering bugs when my program ran in High Sierra.

@guilt
Copy link
Contributor

guilt commented Aug 4, 2019

Thank you for using Allegro :)

Could you post a diff/PR? I doubt few people use it, but it would be good to have, if someone still wants to use the Allegro 4 library.

@raynebc
Copy link
Author

raynebc commented Aug 4, 2019

I looked for a while but couldn't see where _mac_sys_triangle() was being inserted into whichever vtable made it the function called for triangle(). Somebody more familiar with the Allegro source code would be better able to do this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants