2
0
Mr.doob 3 жил өмнө
parent
commit
410974af04

+ 1 - 1
examples/jsm/utils/GPUStatsPanel.js

@@ -86,7 +86,7 @@ export class GPUStatsPanel extends Stats.Panel {
 					this.activeQueries --;
 
 
-				} else if ( ! gl.isContextLost() ) {
+				} else if ( gl.isContextLost() === false ) {
 
 					// otherwise try again the next frame
 					requestAnimationFrame( checkQuery );