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

Fixed issue where CanvasRenderer setClearColor wasn't working as expected.

上级 a3dee4b0
此差异已折叠。
此差异已折叠。
......@@ -103,6 +103,7 @@ THREE.CanvasRenderer = function ( parameters ) {
_canvas.height = _canvasHeight;
_clipRect.set( - _canvasWidthHalf, - _canvasHeightHalf, _canvasWidthHalf, _canvasHeightHalf );
_clearRect.set( - _canvasWidthHalf, - _canvasHeightHalf, _canvasWidthHalf, _canvasHeightHalf );
_contextGlobalAlpha = 1;
_contextGlobalCompositeOperation = 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册