Only call glGetError in debug builds. A somewhat annoying, widespread change, but glGetXXX destroys performance on multi-threaded drivers.