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