updated phaser to version 3.51 and fixed the BC
This commit is contained in:
parent
178af22280
commit
1359fbe977
8 changed files with 22 additions and 24 deletions
|
@ -75,7 +75,7 @@ const config: GameConfig = {
|
|||
postBoot: game => {
|
||||
// FIXME: we should fore WebGL in the config.
|
||||
const renderer = game.renderer as WebGLRenderer;
|
||||
renderer.addPipeline(OutlinePipeline.KEY, new OutlinePipeline(game));
|
||||
renderer.pipelines.add(OutlinePipeline.KEY, new OutlinePipeline(game));
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue