mirror of
https://github.com/d07RiV/diabloweb.git
synced 2026-07-03 11:51:35 +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() {
|
function testOffscreen() {
|
||||||
|
return false;
|
||||||
try {
|
try {
|
||||||
const canvas = document.createElement("canvas");
|
const canvas = document.createElement("canvas");
|
||||||
const offscreen = canvas.transferControlToOffscreen();
|
const offscreen = canvas.transferControlToOffscreen();
|
||||||
|
|||||||
Reference in New Issue
Block a user