Skip to content

Commit

Permalink
WebGPUTextures: Clean up.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mugen87 committed Sep 5, 2020
1 parent d82f89e commit e103579
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/jsm/renderers/webgpu/WebGPUTextures.js
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ class WebGPUTextures {

if ( texture.isDataTexture ) {

this.__copyBufferToTexture( image, format, textureGPU );
this._copyBufferToTexture( image, format, textureGPU );

} else {

Expand Down Expand Up @@ -340,7 +340,7 @@ class WebGPUTextures {

}

__copyBufferToTexture( image, format, textureGPU ) {
_copyBufferToTexture( image, format, textureGPU ) {

// this code assumes data textures in RGBA format
// TODO: Consider to support valid buffer layouts with other formats like RGB
Expand Down

0 comments on commit e103579

Please sign in to comment.