Explorar o código

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

This reverts commit 9abfda6c96130ec043687444b6eed31435d674f2.
sunag %!s(int64=2) %!d(string=hai) anos
pai
achega
714fd18bd7
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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 );