Browse Source

Format code

Merwan Achibet 6 years ago
parent
commit
3c5a5eb2e8
1 changed files with 2 additions and 3 deletions
  1. 2 3
      src/renderers/webgl/WebGLTextures.js

+ 2 - 3
src/renderers/webgl/WebGLTextures.js

@@ -62,11 +62,10 @@ function WebGLTextures( _gl, extensions, state, properties, capabilities, utils,
 
 				// ImageBitmap is flipped vertically
 
-				if ( useOffscreenCanvas )
-				{
+				if ( useOffscreenCanvas ) {
 
 					context.translate( 0, height );
-					context.scale( 1, -1 );
+					context.scale( 1, - 1 );
 
 				}