Mr.doob 3 år sedan
förälder
incheckning
410974af04
1 ändrade filer med 1 tillägg och 1 borttagningar
  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 --;
 
 
-				} else if ( ! gl.isContextLost() ) {
+				} else if ( gl.isContextLost() === false ) {
 
 					// otherwise try again the next frame
 					requestAnimationFrame( checkQuery );