Bläddra i källkod

WebGPUTextures: Clean up.

Mugen87 4 år sedan
förälder
incheckning
e1035798b2
1 ändrade filer med 2 tillägg och 2 borttagningar
  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