From 944a74faf55b82229eee2773432d17a0ef2c860b Mon Sep 17 00:00:00 2001 From: billsonnn Date: Wed, 20 Mar 2024 22:57:50 -0400 Subject: [PATCH] Changes --- src/index.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 71f944fa..803857d1 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,6 +1,8 @@ -import { HelloSystem } from 'pixi.js'; +import { AbstractRenderer, BrowserAdapter, DOMAdapter, HelloSystem } from 'pixi.js'; HelloSystem.defaultOptions.hello = true; +AbstractRenderer.defaultOptions.failIfMajorPerformanceCaveat = false; +DOMAdapter.set(BrowserAdapter); export * from '@nitrots/api'; export * from '@nitrots/assets';