소스 검색

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

This reverts commit 9abfda6c96130ec043687444b6eed31435d674f2.
sunag 2 년 전
부모
커밋
714fd18bd7
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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 );