mirror of
https://github.com/d07RiV/diabloweb.git
synced 2026-06-03 21:41:38 +00:00
offscreen render off
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user