surfaceChanged

fun surfaceChanged(width: Int, height: Int)

Must be called when the surface dimensions have changed.

Parameters

width

The width of the surface viewport

height

The height of the surface viewport