소스 검색

Clean up.

Mr.doob 3 년 전
부모
커밋
410974af04
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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 );