Skip to content

Commit

Permalink
Revert "Change default quality to 2 and reduce goodframes check to 100."
Browse files Browse the repository at this point in the history
This reverts commit 178b667.
  • Loading branch information
mrdoob committed Aug 15, 2021
1 parent afab138 commit a92a859
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions static/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@

// Greetings to Iq/RGBA! ;)

var quality = 2;
var quality = 1;
var toolbar, showButton, timeButton, compileButton, panButton, fullscreenButton, compileTimer, errorLines = [];
var code, canvas, gl, buffer, currentProgram, vertexPosition, screenVertexPosition,
parameters = { startTime: Date.now(), time: 0, mouseX: 0.5, mouseY: 0.5, screenWidth: 0, screenHeight: 0 },
Expand Down Expand Up @@ -856,7 +856,7 @@

goodframes ++;

if ( goodframes > 100 ) {
if ( goodframes > 500 ) {

goodframes = 0;
quality -= 0.1;
Expand Down

0 comments on commit a92a859

Please sign in to comment.