Skip to content

Commit cb70102

Browse files
authored
change currentRenderState to renderStack.pop() in WebGLRenderer.compile() (#30607)
1 parent 82cbd32 commit cb70102

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/renderers/WebGLRenderer.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -1028,8 +1028,7 @@ class WebGLRenderer {
10281028

10291029
} );
10301030

1031-
renderStateStack.pop();
1032-
currentRenderState = null;
1031+
currentRenderState = renderStateStack.pop();
10331032

10341033
return materials;
10351034

0 commit comments

Comments
 (0)