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

Clean up.

上级 f373dbde
......@@ -406,15 +406,6 @@ function WebGLRenderer( parameters ) {
};
this.getDrawingBufferSize = function () {
return {
width: _width * _pixelRatio,
height: _height * _pixelRatio
};
};
this.setSize = function ( width, height, updateStyle ) {
var device = vr.getDevice();
......@@ -443,6 +434,15 @@ function WebGLRenderer( parameters ) {
};
this.getDrawingBufferSize = function () {
return {
width: _width * _pixelRatio,
height: _height * _pixelRatio
};
};
this.setDrawingBufferSize = function ( width, height, pixelRatio ) {
_width = width;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册