Phaser API Documentation

  Version: 
resetViewport()

Description:

Resets the gl viewport to the current renderer dimensions.

Since: 3.50.0