surfaceChanged

fun surfaceChanged(width: Int, height: Int)

Called when the surface dimensions have changed.

Parameters

width

The width of the surface viewport

height

The height of the surface viewport