offscreen render off

This commit is contained in:
Andrey Kolosov
2019-07-31 18:07:15 +03:00
parent 9d3dc826f7
commit 726b6c3ee0

View File

@@ -35,6 +35,7 @@ function onRender(api, ctx, {bitmap, images, text, clip, belt}) {
}
function testOffscreen() {
return false;
try {
const canvas = document.createElement("canvas");
const offscreen = canvas.transferControlToOffscreen();