|
@@ -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;
|