Skip to content

Commit

Permalink
WebGLTextures: Fix array reference.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mugen87 committed Apr 15, 2024
1 parent 33d54db commit bd4319e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/renderers/webgl/WebGLTextures.js
Original file line number Diff line number Diff line change
Expand Up @@ -1896,7 +1896,7 @@ function WebGLTextures( _gl, extensions, state, properties, capabilities, utils,
invalidationArrayRead.length = 0;
invalidationArrayDraw.length = 0;

invalidationArrayDraw.push( _gl.COLOR_ATTACHMENT0 + i );
invalidationArrayRead.push( _gl.COLOR_ATTACHMENT0 + i );

if ( renderTarget.depthBuffer && ignoreDepthValues === true ) {

Expand Down

0 comments on commit bd4319e

Please sign in to comment.