浏览代码

WebGPUInfo: Reset texture counter.

Mugen87 4 年之前
父节点
当前提交
1268b1098f
共有 1 个文件被更改,包括 1 次插入0 次删除
  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;
 
 	}