Selaa lähdekoodia

WebGPUInfo: Reset texture counter.

Mugen87 5 vuotta sitten
vanhempi
commit
1268b1098f
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  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;
 
 	}