-
Notifications
You must be signed in to change notification settings - Fork 1
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
Support custom pixel formats #7
Comments
This would be really useful for my project. I'm trying to use ZeroGL as a C-Extension in DragonRuby but DR only accepts ABGR colours. So instead of altering ZeroGL, I post process the pixel array to convert it. However, that's not very efficient. I also noticed that ZeroGL doesn't deal with the Alpha channel in most of the colour functions so I have to force Alpha on. I don't know if this is just a product of the colour format or something else. Thanks. |
We currently support only BGRA32 colors. We should allow users to customize this when using the library.
References:
The text was updated successfully, but these errors were encountered: