1
0
Fork 0
mirror of https://github.com/kkapsner/CanvasBlocker synced 2025-07-03 03:56:26 +02:00

Added test page for webGL - it is also working with the webExtension.

This commit is contained in:
kkapsner 2017-06-29 20:19:00 +02:00
parent 0f35d762e2
commit f70380aa67
3 changed files with 24 additions and 2 deletions

View file

@ -297,7 +297,7 @@
return function readPixels(x, y, width, height, format, type, pixels){
// not able to use the getFakeCanvas function because the context type is wrong...
notify("fakedReadout");
var xPixels = pixels//Cu.waiveXrays(pixels);
var xPixels = pixels;
var ret = original.apply(this, window.Array.from(arguments));
var l = xPixels.length;
var rng = randomSupply.getRng(l, window);