library / com.otaliastudios.opengl.surface / EglNativeSurface / setHeight

setHeight

protected fun setHeight(height: Int): Unit

Can be called by subclasses whose height is guaranteed to never change, so we can cache this value. For window surfaces, this should not be called.