mirror of
https://github.com/kkapsner/CanvasBlocker
synced 2025-07-03 12:06:31 +02:00
Added test page for webGL - it is also working with the webExtension.
This commit is contained in:
parent
0f35d762e2
commit
f70380aa67
3 changed files with 24 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue