The Wayback Machine - https://webcf.waybackmachine.org/web/20220312032148/https://github.com/mrdoob/three.js/commit/af07e8ad159a7106da5d2984813e3a282a8e4b75
Skip to content
Permalink
Browse files
WebGLRenderLists/WebGLRenderStats: Simplified.
  • Loading branch information
mrdoob committed on Feb 11, 2021
1 parent 00904c5 commit af07e8ad159a7106da5d2984813e3a282a8e4b75
Showing with 2 additions and 4 deletions.
  1. +1 −2 src/renderers/webgl/WebGLRenderLists.js
  2. +1 −2 src/renderers/webgl/WebGLRenderStates.js
@@ -181,8 +181,7 @@ function WebGLRenderLists( properties ) {
if ( lists.has( scene ) === false ) {

list = new WebGLRenderList( properties );
lists.set( scene, [] );
lists.get( scene ).push( list );
lists.set( scene, [ list ] );

} else {

@@ -68,8 +68,7 @@ function WebGLRenderStates( extensions, capabilities ) {
if ( renderStates.has( scene ) === false ) {

renderState = new WebGLRenderState( extensions, capabilities );
renderStates.set( scene, [] );
renderStates.get( scene ).push( renderState );
renderStates.set( scene, [ renderState ] );

} else {

0 comments on commit af07e8a

Please sign in to comment.