You might want to mention that this is called during display list building specifically. This was non-obvious to me at first glance. I understand why it has to be that way though, and I can't think of any better way to do it.