|
@@ -2889,7 +2889,7 @@ class WebGLRenderer {
|
|
|
|
|
|
|
|
if ( ( x >= 0 && x <= ( renderTarget.width - width ) ) && ( y >= 0 && y <= ( renderTarget.height - height ) ) ) {
|
|
if ( ( x >= 0 && x <= ( renderTarget.width - width ) ) && ( y >= 0 && y <= ( renderTarget.height - height ) ) ) {
|
|
|
|
|
|
|
|
- // when using MRT, select the corect color buffer for the subsequent read command
|
|
|
|
|
|
|
+ // when using MRT, select the correct color buffer for the subsequent read command
|
|
|
|
|
|
|
|
if ( renderTarget.textures.length > 1 ) _gl.readBuffer( _gl.COLOR_ATTACHMENT0 + textureIndex );
|
|
if ( renderTarget.textures.length > 1 ) _gl.readBuffer( _gl.COLOR_ATTACHMENT0 + textureIndex );
|
|
|
|
|
|