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

glow can't read_pixels with glow::FLOAT param. #125

Open
notdanilo opened this issue Sep 11, 2020 · 0 comments
Open

glow can't read_pixels with glow::FLOAT param. #125

notdanilo opened this issue Sep 11, 2020 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@notdanilo
Copy link
Contributor

notdanilo commented Sep 11, 2020

glow uses read_pixels_with_opt_u8_array to read pixels and it creates a ArrayBufferView from Uint8Array while, internally, gl.ReadPixels requires ArrayBufferView to be a view of Float32Array when the pixel type is gl.FLOAT.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants