1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-20 05:55:29 +02:00
This commit is contained in:
syuilo
2026-04-27 16:51:05 +09:00
parent 24caff71e1
commit 76ce6c84c0
3 changed files with 3 additions and 3 deletions

View File

@@ -15,7 +15,7 @@ import { deepClone } from '@/utility/clone.js';
import { store } from '@/store.js';
export async function createRoomObjectPreviewEngine(canvas: HTMLCanvasElement) {
const babylonEngine = new BABYLON.WebGPUEngine(canvas, { doNotHandleContextLost: true });
const babylonEngine = new BABYLON.WebGPUEngine(canvas, { doNotHandleContextLost: true, powerPreference: 'low-power' });
babylonEngine.compatibilityMode = false;
babylonEngine.enableOfflineSupport = false;
await babylonEngine.initAsync();