Skip to content

Conversation

@Cleptomania
Copy link
Member

This PR depends on pyglet/pyglet#1400 in Pyglet to be merged first, and will error without it.

WebGL by default has an alpha channel on the backing buffer which causes the content of the HTML/CSS behind the canvas element to bleed through when doing alpha blending. On desktop OpenGL/GLES the backing buffer is solid black and doesn't have an alpha channel.

This change makes the WebGL context function more in line with how desktop OpenGL does

@Cleptomania
Copy link
Member Author

This is being done by default in Pyglet now, and the way to change these settings has changed anyways.

@Cleptomania Cleptomania closed this Feb 8, 2026
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

Successfully merging this pull request may close these issues.

1 participant