Remove manual OpenGL error checking.