checkGLError

open fun checkGLError(tag: String, label: String)

Checks if we've had an error inside of OpenGL ES, and if so what that error is.

Parameters

label

Label to report in case of error.

Throws

If an OpenGL error is detected.