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

INVALID_VALUE: texImage2D: no canvas #14

Closed
jamesleesaunders opened this issue Nov 1, 2018 · 0 comments
Closed

INVALID_VALUE: texImage2D: no canvas #14

jamesleesaunders opened this issue Nov 1, 2018 · 0 comments
Labels
bug Something isn't working

Comments

@jamesleesaunders
Copy link
Owner

Fix bug described on x3dom/x3dom#910

11WebGL: INVALID_VALUE: texImage2D: no canvas
245[.WebGL-0x7fc3bc0dd000]RENDER WARNING: texture bound to texture unit 0 is not renderable. It maybe non-power-of-2 and have incompatible texture filtering.
BarChartMultiSeries.html:1 WebGL: too many errors, no more errors will be reported to the console for this context.

@andreasplesch

I did some tracing using the dev tools debugger.
It seems that a text node is generated for the axis labeling with an empty string attribute:


This causes then nothing to be rendered on the canvas which is used as a texture for the text which caueses the console error. It should be harmless but probably worth checking why the no content text node is generated in the first place.

jamesleesaunders added a commit that referenced this issue Nov 2, 2018
jamesleesaunders added a commit that referenced this issue Nov 3, 2018
jamesleesaunders added a commit that referenced this issue Nov 14, 2018
@jamesleesaunders jamesleesaunders added the bug Something isn't working label Nov 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant