Browse Source

Remove the query upon completion (#28428)

nmzik 1 năm trước cách đây
mục cha
commit
2de0ee431e

+ 2 - 0
examples/jsm/utils/GPUStatsPanel.js

@@ -56,6 +56,8 @@ export class GPUStatsPanel extends Stats.Panel {
 
 
 					}
 					}
 
 
+					gl.deleteQuery( query );
+
 					this.activeQueries --;
 					this.activeQueries --;
 
 
 
 

粤ICP备19079148号