Modern WebGL state wrapper for PEX: allocate GPU resources (textures, buffers), setup state pipelines and passes, and combine them into commands.
160
stars
12
forks
source link
Alpha-premult and y-flip are deprecated for non-DOM-Element uploads. #71
Open
vorg opened 5 years ago
I'm getting this error in FF 67
Error: WebGL warning: texImage2D: Alpha-premult and y-flip are deprecated for non-DOM-Element uploads.
Caused by https://github.com/pex-gl/pex-context/blob/master/texture.js#L90 which should be moved to this if check https://github.com/pex-gl/pex-context/blob/master/texture.js#L118