glow icon indicating copy to clipboard operation
glow copied to clipboard

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

Open notdanilo opened this issue 5 years ago • 0 comments

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.

notdanilo avatar Sep 11 '20 16:09 notdanilo