Skip to content

Commit

Permalink
WebGLRenderer: Removed clearColor/clearAlpha warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrdoob committed Sep 16, 2013
1 parent c7f215d commit e7e3493
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions src/renderers/WebGLRenderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,20 +24,6 @@ THREE.WebGLRenderer = function ( parameters ) {
_clearColor = new THREE.Color( 0x000000 ),
_clearAlpha = 0;

if ( parameters.clearColor !== undefined ) {

console.warn( 'DEPRECATED: clearColor in WebGLRenderer constructor parameters is being removed. Use .setClearColor() instead.' );
_clearColor.setHex( parameters.clearColor );

}

if ( parameters.clearAlpha !== undefined ) {

console.warn( 'DEPRECATED: clearAlpha in WebGLRenderer constructor parameters is being removed. Use .setClearColor() instead.' );
_clearAlpha = parameters.clearAlpha;

}

// public properties

this.domElement = _canvas;
Expand Down

0 comments on commit e7e3493

Please sign in to comment.