Skip to content

Commit

Permalink
Update WebGLRenderer.js
Browse files Browse the repository at this point in the history
Clean up.
  • Loading branch information
Mugen87 committed May 20, 2024
1 parent 0d5251a commit 3355a62
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/renderers/WebGLRenderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,6 @@ class WebGLRenderer {

let _clippingEnabled = false;
let _localClippingEnabled = false;
let _renderBackground = false;

// camera matrices cache

Expand All @@ -207,6 +206,8 @@ class WebGLRenderer {

const _emptyScene = { background: null, fog: null, environment: null, overrideMaterial: null, isScene: true };

let _renderBackground = false;

function getTargetPixelRatio() {

return _currentRenderTarget === null ? _pixelRatio : 1;
Expand Down

0 comments on commit 3355a62

Please sign in to comment.