Do not try to read pixels from an FBO without read buffer
a6359fe
Adds another check to the WebGL2 ReadPixels implementation to fix an OpenGL invalid operation crash when the method is called on a bound framebuffer that has no read buffer.