Closed vorg closed 5 years ago
This should reflect default canvas size
https://github.com/pex-gl/pex-context/blob/master/index.js#L813
Implemented here https://github.com/pex-gl/pex-context/blob/master/index.js#L825
ctx.defaultState.viewport[2] = graph.ctx.gl.drawingBufferWidth ctx.defaultState.viewport[3] = graph.ctx.gl.drawingBufferHeight
This should reflect default canvas size