From 379038f6d42a8f5a3b85abea10b32e2c7613b143 Mon Sep 17 00:00:00 2001 From: sunag Date: Tue, 26 Sep 2023 01:27:04 -0300 Subject: [PATCH] WebGPURenderer: Fix .flipY example --- examples/jsm/renderers/webgpu/utils/WebGPUTextureUtils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/jsm/renderers/webgpu/utils/WebGPUTextureUtils.js b/examples/jsm/renderers/webgpu/utils/WebGPUTextureUtils.js index d81dd92e092dee..5af43e9b31c91d 100644 --- a/examples/jsm/renderers/webgpu/utils/WebGPUTextureUtils.js +++ b/examples/jsm/renderers/webgpu/utils/WebGPUTextureUtils.js @@ -239,7 +239,7 @@ class WebGPUTextureUtils { if ( texture.isDataTexture || texture.isDataArrayTexture || texture.isData3DTexture ) { - this._copyBufferToTexture( options.image, textureData.texture, textureDescriptorGPU, 0, texture.flipY ); + this._copyBufferToTexture( options.image, textureData.texture, textureDescriptorGPU, 0, false ); } else if ( texture.isCompressedTexture ) {