Phaser API Documentation

  Version: 
resetViewport()

Description:

Resets the gl viewport to the current renderer dimensions.

Examples:
Since: 3.50.0