Skip to content

Commit 4dca825

Browse files
authored
Update WebGLRenderer.js
Clean up.
1 parent 859402c commit 4dca825

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/renderers/WebGLRenderer.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -727,7 +727,7 @@ class WebGLRenderer {
727727

728728
if ( _outputBufferType === UnsignedByteType ) {
729729

730-
console.error( 'THREE.WebGLRenderer: setEffects() requires outputBufferType set to HalfFloatType or FloatType.' );
730+
error( 'THREE.WebGLRenderer: setEffects() requires outputBufferType set to HalfFloatType or FloatType.' );
731731
return;
732732

733733
}
@@ -738,7 +738,7 @@ class WebGLRenderer {
738738

739739
if ( effects[ i ].isOutputPass === true ) {
740740

741-
console.warn( 'THREE.WebGLRenderer: OutputPass is not needed in setEffects(). Tone mapping and color space conversion are applied automatically.' );
741+
warn( 'THREE.WebGLRenderer: OutputPass is not needed in setEffects(). Tone mapping and color space conversion are applied automatically.' );
742742
break;
743743

744744
}

0 commit comments

Comments
 (0)