Browse Source

Clean up.

Mr.doob 3 years ago
parent
commit
410974af04
1 changed files with 1 additions and 1 deletions
  1. 1 1
      examples/jsm/utils/GPUStatsPanel.js

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

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