It's why in a lot of games most walls are only visible from one side. The graphics system checks which direction each triangle is wound before it begins filling them in or texturing them.
This saves on computation, since around half the geometry in the world is known to not be visible and is not processed, even before doing any depth checks.