Skip to content

Commit

Permalink
Increase tolerance to 3 in clear-srgb-color-buffer.html . (KhronosGro…
Browse files Browse the repository at this point in the history
  • Loading branch information
kenrussell authored Jul 28, 2020
1 parent c1d5cef commit 497c6c8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,9 @@
}

var color_ref = wtu.linearToSRGB(color);
wtu.checkCanvasRect(gl, 0, 0, size, size, color_ref);
var tolerance = 3;
var msg = "";
wtu.checkCanvasRect(gl, 0, 0, size, size, color_ref, msg, tolerance);
}

gl.bindTexture(gl.TEXTURE_2D, null);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
}

var color_ref = wtu.linearToSRGB(color);
var tolerance = 1;
var tolerance = 3;
var msg = "";
wtu.checkCanvasRect(gl, 0, 0, size, size, color_ref, msg, tolerance);
}
Expand Down

0 comments on commit 497c6c8

Please sign in to comment.