GL attributes (e.g. alpha) are not processed #7227
Currently library_egl.js/eglCreateContext creates the WebGL context using a fixed set of attributes:
I ran into an issue when porting software that needed GL_ALPHA_SIZE, which I quick-patched with:
(incidentally it's funny to see egl implemented on top of glut rather than the other way around ;))
library_glut.js itself only seem to know about antialias(=multisample)/depth/stencil/alpha though.
Was there any reason for the hard-coding, or do we need to implement a bit of attributes parsing there?
The text was updated successfully, but these errors were encountered: