Prefer WebGL over WebGPU for now

This commit is contained in:
billsonnn 2024-03-23 21:20:27 -04:00
parent cb80bf3a17
commit 98b3bcc9d4

View File

@ -28,13 +28,10 @@ export const App: FC<{}> = props =>
height, height,
autoDensity: true, autoDensity: true,
backgroundAlpha: 0, backgroundAlpha: 0,
//@ts-ignore preference: 'webgl'
preference: 'webgl2'
}); });
const stage = GetStage(); GetTicker().add(ticker => renderer.render(GetStage()));
GetTicker().add(ticker => renderer.render(stage));
await GetConfiguration().init(); await GetConfiguration().init();