mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-06-12 18:44:05 +02:00
wip
This commit is contained in:
@@ -224,6 +224,7 @@ export class RoomEngine extends EventEmitter<RoomEngineEvents> {
|
||||
canvas: HTMLCanvasElement;
|
||||
engine: BABYLON.WebGPUEngine;
|
||||
graphicsQuality: number;
|
||||
fps: number | null;
|
||||
useVirtualJoystick?: boolean;
|
||||
}) {
|
||||
super();
|
||||
@@ -237,7 +238,7 @@ export class RoomEngine extends EventEmitter<RoomEngineEvents> {
|
||||
};
|
||||
this.canvas = options.canvas;
|
||||
|
||||
this.fps = options.graphicsQuality >= GRAPHICS_QUALITY_HIGH ? null : 30;
|
||||
this.fps = options.fps;
|
||||
this.useGlow = options.graphicsQuality >= GRAPHICS_QUALITY_MEDIUM;
|
||||
|
||||
registerBuiltInLoaders();
|
||||
|
||||
Reference in New Issue
Block a user