Handle CGLSetCurrentContext errors.