提交 35d14fc8 编写于 作者: M Mr.doob

WebGLRenderer: Removed resetGLState()

上级 ac7a4dc8
......@@ -519,9 +519,7 @@ function WebGLRenderer( parameters ) {
};
// Reset
this.resetGLState = resetGLState;
//
this.dispose = function () {
......
......@@ -355,7 +355,7 @@ function LensFlarePlugin( renderer, flares ) {
state.enable( gl.DEPTH_TEST );
state.buffers.depth.setMask( true );
renderer.resetGLState();
state.reset();
};
......
......@@ -248,7 +248,7 @@ function SpritePlugin( renderer, sprites ) {
state.enable( gl.CULL_FACE );
renderer.resetGLState();
state.reset();
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册