I'd like the canvas to always be the same width and height as the viewport.
renderer.resize() works, but renderer.autoResize doesn't seem to do anything.
The code is taken from here:
https://github.com/kittykatattack/learningPixi#renderer
As you can see I'm using PIXI.Application instead of manually initializing the stage and renderer, in case that matters.
var app = new PIXI.Application(800, 600, { antialias: true });
app.renderer.view.style.position = 'ab