'Push a function which performs gl commands
used to build a display list. (The list is
built outside of the function)'

@synchronized
def push_wireframe(self, function):

    assert callable(function)
    self._draw_wireframe.append(function)
    if (len(self._draw_wireframe) > self._max_render_stack_size):
        del self._draw_wireframe[1]
