Skip to content

Commit

Permalink
WebGLRenderer: Fix setRenderTargetTextures(). (#23644)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mugen87 authored Mar 3, 2022
1 parent 51f7c0f commit b5b9aad
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/renderers/WebGLRenderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -1825,8 +1825,7 @@ function WebGLRenderer( parameters = {} ) {
if ( extensions.has( 'WEBGL_multisampled_render_to_texture' ) === true ) {

console.warn( 'THREE.WebGLRenderer: Render-to-texture extension was disabled because an external texture was provided' );
renderTarget.useRenderToTexture = false;
renderTarget.useRenderbuffer = true;
renderTargetProperties.__useRenderToTexture = false;

}

Expand Down

0 comments on commit b5b9aad

Please sign in to comment.