Ver Fonte

WebGPUInfo: Reset texture counter.

Mugen87 há 4 anos atrás
pai
commit
1268b1098f
1 ficheiros alterados com 1 adições e 0 exclusões
  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;
 
 	}