mirror of
https://github.com/billsonnn/nitro-react.git
synced 2024-11-26 15:40:51 +01:00
Prefer WebGL over WebGPU for now
This commit is contained in:
parent
cb80bf3a17
commit
98b3bcc9d4
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user