mirror of
https://github.com/kkapsner/CanvasBlocker
synced 2024-12-22 21:00:23 +01:00
Added WebGLRenderingContext.readPixels to readout API
This commit is contained in:
parent
2a4aeecb2c
commit
72d5d09c29
Binary file not shown.
@ -74,6 +74,10 @@
|
|||||||
}
|
}
|
||||||
return imageData;
|
return imageData;
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
readPixels: {
|
||||||
|
mode: blockMode.readAPI,
|
||||||
|
object: unsafeWindow.WebGLRenderingContext
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user