Closed jleibs closed 1 month ago
Additional info from web console:
Turns out webgl doesn't support BGR(A) https://registry.khronos.org/OpenGL-Refpages/es2.0/xhtml/glTexImage2D.xml
I wonder how this fell through the cracks. I definitely tested Web when introducing this feature and I'm fairly sure I had a look at WebGL and WebGPU (where this works via spec). Might want to check if some WebGL impls allow this or (more likely) I only tested WebGPU.
Also there's a wgpu bug here where it doesn't set the downlevel flag for missing texture support.
Somebody already logged this on wgpu :)
Browsers: Firefox and Chrome both show a black tile:
Works fine on native.
OS: Arch, Wayland, Nvidia (560 drivers)