We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The code seems to make an assumption typed arrays are always passed in.
Because it assumes src.buffer exists. But on ArrayBuffer and ArrayBufferView it doesn't per the spec:
https://developer.mozilla.org/en-US/docs/Web/API/ArrayBufferView https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/bufferData
The text was updated successfully, but these errors were encountered:
Thanks for the report. Fixed.
Just FYI though. MDN is NOT the spec. MDN is a user edited wiki and is often wrong.
Sorry, something went wrong.
thx!
No branches or pull requests
The code seems to make an assumption typed arrays are always passed in.
Because it assumes src.buffer exists. But on ArrayBuffer and ArrayBufferView it doesn't per the spec:
https://developer.mozilla.org/en-US/docs/Web/API/ArrayBufferView
https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/bufferData
The text was updated successfully, but these errors were encountered: