Virgin F1's Timo Glock has admitted that his friend Robert Kubica's accident last weekend was a wake-up call.