checkLocation

open fun checkLocation(location: Int, label: String)

Checks to see if the location we obtained is valid. GLES returns -1 if a label could not be found, but does not set the GL error.

Throws a RuntimeException if the location is invalid.