PVR Loading: fixed erroneous check of glGetError