mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-14 01:45:36 +02:00
Update engine.ts
This commit is contained in:
@@ -1566,7 +1566,10 @@ export class RoomEngine extends EventEmitter<RoomEngineEvents> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public resize() {
|
public resize() {
|
||||||
|
// 一旦snapshot renderingを無効にしておかないとエラーが出る(babylonのバグ?)
|
||||||
|
if (SNAPSHOT_RENDERING) this.sr.disableSnapshotRendering();
|
||||||
this.engine.resize();
|
this.engine.resize();
|
||||||
|
if (SNAPSHOT_RENDERING) this.sr.enableSnapshotRendering();
|
||||||
}
|
}
|
||||||
|
|
||||||
public destroy() {
|
public destroy() {
|
||||||
|
|||||||
Reference in New Issue
Block a user