mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-06-25 17:10:43 +00:00
Update engine.ts
This commit is contained in:
parent
62be4a258e
commit
60a2cd9306
1 changed files with 3 additions and 0 deletions
|
|
@ -1566,7 +1566,10 @@ export class RoomEngine extends EventEmitter<RoomEngineEvents> {
|
|||
}
|
||||
|
||||
public resize() {
|
||||
// 一旦snapshot renderingを無効にしておかないとエラーが出る(babylonのバグ?)
|
||||
if (SNAPSHOT_RENDERING) this.sr.disableSnapshotRendering();
|
||||
this.engine.resize();
|
||||
if (SNAPSHOT_RENDERING) this.sr.enableSnapshotRendering();
|
||||
}
|
||||
|
||||
public destroy() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue