-
Notifications
You must be signed in to change notification settings - Fork 93
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
Transparent pixels overwrite existing pixels on mlx_put_image_to_window #36
Comments
Same problem here. Hope it's fixed someday. |
Hello! To use: function Alpha channel in X11 works not the same way as in stock MLX. Here is screenshot from my cub3D with semi-transparent weapon glow - just made it to work after few days and now happy)) p.s. I also modified MLX by implementing some kind of double buffer - it now writes image to main buffer only once a frame. |
When trying to use an .xpm image with transparency that transparency will replace pixels despite being completely transparent. Using the mac mlx transparency works fine:
Mac left, Linux right, using the same test code where first blue.xpm is put to the window and then red.xpm is put to the window. (both 8x8 pixels, hence the weirdly thin top bars of the windows)
The text was updated successfully, but these errors were encountered: