Skip to content
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

WebGL warnings in Firefox #88

Open
raaaahman opened this issue Sep 18, 2023 · 0 comments
Open

WebGL warnings in Firefox #88

raaaahman opened this issue Sep 18, 2023 · 0 comments

Comments

@raaaahman
Copy link

Hello, thank you for this helpful library.

I noticed some WebGL warnings when running it in Firefox (version 117.0.1, Linux 64 bits), but not on Chromium (version 116.0.5845.187, Linux 64 bits). Here's the list:

WebGL warning: texImage: Alpha-premult and y-flip are deprecated for non-DOM-Element uploads.
WebGL warning: drawArraysInstanced: Drawing without vertex attrib 0 array enabled forces the browser to do expensive emulation work when running on desktop OpenGL platforms, for example on Mac. It is preferable to always draw with vertex attrib 0 array enabled, by using bindAttribLocation to bind some always-used attribute to location 0.
WebGL warning: enableVertexAttribArray: -1 is not a valid index. This value probably comes from a getAttribLocation() call, where this return value -1 means that the passed name didn't correspond to an active attribute in the specified program.
WebGL warning: vertexAttribI?Pointer: index (4294967295) must be < MAX_VERTEX_ATTRIBS.
WebGL warning: texImage: Alpha-premult and y-flip are deprecated for non-DOM-Element uploads.

I can see the same warnings on the example page: http://patriciogonzalezvivo.github.io/glslCanvas/

Should this be solved in the library or in each project? Is it a big issue at all?

Many thanks!

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

No branches or pull requests

1 participant