fixed triangle example for windows 8.