onSurfaceChanged

open fun onSurfaceChanged(width: Int, height: Int)

Records a change in surface dimensions. This will be later used by updateSessionIfNeeded. Should be called from #onSurfaceChanged(javax.microedition.khronos.opengles.GL10, int, int).

Parameters

width

the updated width of the surface.

height

the updated height of the surface.