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,
autoDensity: true,
backgroundAlpha: 0,
//@ts-ignore
preference: 'webgl2'
preference: 'webgl'
});
const stage = GetStage();
GetTicker().add(ticker => renderer.render(stage));
GetTicker().add(ticker => renderer.render(GetStage()));
await GetConfiguration().init();