pub fn check_errors() -> Result<(), Vec<String>>
Check for OpenGL errors; return Ok if there are none, else all of the errors as strings in a Vec