Explorar o código

WebGPUInfo: Reset texture counter.

Mugen87 %!s(int64=4) %!d(string=hai) anos
pai
achega
1268b1098f
Modificáronse 1 ficheiros con 1 adicións e 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;
 
 	}