opengl error reporting formatting

what it says on the tin