Explorar el Código

WebGPUInfo: Reset texture counter.

Mugen87 hace 5 años
padre
commit
1268b1098f
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      examples/jsm/renderers/webgpu/WebGPUInfo.js

+ 1 - 0
examples/jsm/renderers/webgpu/WebGPUInfo.js

@@ -64,6 +64,7 @@ class WebGPUInfo {
 		this.render.frame = 0;
 
 		this.memory.geometries = 0;
+		this.memory.textures = 0;
 
 	}