Skip to content

Commit

Permalink
WebGPURenderer: Fix .flipY example
Browse files Browse the repository at this point in the history
  • Loading branch information
sunag committed Sep 26, 2023
1 parent 2ccc5bc commit 379038f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/jsm/renderers/webgpu/utils/WebGPUTextureUtils.js
Expand Up @@ -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 ) {

Expand Down

0 comments on commit 379038f

Please sign in to comment.