Pārlūkot izejas kodu

WebGPUInfo: Reset texture counter.

Mugen87 4 gadi atpakaļ
vecāks
revīzija
1268b1098f
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  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;
 
 	}