|
// the following if statement ensures valid read requests (no out-of-bounds pixels, see #8604)
|
|
// the following if statement ensures valid read requests (no out-of-bounds pixels, see #8604)
|
|
_gl.readPixels( x, y, width, height, paramThreeToGL( texture.format ), paramThreeToGL( texture.type ), buffer );
|
|
_gl.readPixels( x, y, width, height, paramThreeToGL( texture.format ), paramThreeToGL( texture.type ), buffer );
|