Forráskód Böngészése

WebGPUInfo: Reset texture counter.

Mugen87 4 éve
szülő
commit
1268b1098f
1 módosított fájl, 1 hozzáadás és 0 törlés
  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;
 
 	}