print out at most 10 OpenGL errors per render loop