debugGLErrors

inline fun debugGLErrors(crossinline errorFunction: (Int) -> String? = { null })(source)