Browse Source

WebGPUTextures: Clean up.

Mugen87 4 years ago
parent
commit
e1035798b2
1 changed files with 2 additions and 2 deletions
  1. 2 2
      examples/jsm/renderers/webgpu/WebGPUTextures.js

+ 2 - 2
examples/jsm/renderers/webgpu/WebGPUTextures.js

@@ -302,7 +302,7 @@ class WebGPUTextures {
 
 		if ( texture.isDataTexture ) {
 
-			this.__copyBufferToTexture( image, format, textureGPU );
+			this._copyBufferToTexture( image, format, textureGPU );
 
 		} else {
 
@@ -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