提交 e248e7f5 编写于 作者: M Marc-Sefan Cassola

fixed scoping issue

上级 9a844d0e
......@@ -100,6 +100,8 @@ function WebGLShadowMap( _renderer, _objects, maxTextureSize ) {
if ( lights.length === 0 ) return;
var currentRenderTarget = _renderer.getRenderTarget();
var _state = _renderer.state;
// Set GL state for depth map.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册