Mr.doob před 8 roky
rodič
revize
9cf0edcc8a
1 změnil soubory, kde provedl 9 přidání a 9 odebrání
  1. 9 9
      src/renderers/WebGLRenderer.js

+ 9 - 9
src/renderers/WebGLRenderer.js

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