Debug about throwing GL error.