Browse Source

Revert "Use default to replicate original meaning of 'none' (#26453)" (#26462)

This reverts commit 9abfda6c96130ec043687444b6eed31435d674f2.
sunag 2 years ago
parent
commit
714fd18bd7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      examples/jsm/renderers/webgpu/utils/WebGPUTextureUtils.js

+ 1 - 1
examples/jsm/renderers/webgpu/utils/WebGPUTextureUtils.js

@@ -439,7 +439,7 @@ class WebGPUTextureUtils {
 
 		const options = {};
 
-		options.imageOrientation = ( texture.flipY === true ) ? 'flipY' : 'default';
+		options.imageOrientation = ( texture.flipY === true ) ? 'flipY' : 'none';
 		options.premultiplyAlpha = ( texture.premultiplyAlpha === true ) ? 'premultiply' : 'default';
 
 		return createImageBitmap( image, 0, 0, width, height, options );