~widelands-dev/widelands/1.x

« back to all changes in this revision

Viewing changes to src/graphic/render_queue.cc

  • Committer: The Widelands Bunnybot
  • Date: 2021-06-03 16:42:00 UTC
  • Revision ID: bunnybot@widelands.org-20210603164200-tr32jpz0xxr5t9vf
Catch more editor exceptions gracefully (#4902)

(by matthiakl)
ca3ef432d3109031af4d42d158effe926240204c

Show diffs side-by-side

added added

removed removed

Lines of Context:
190
190
        ++next_z_;
191
191
}
192
192
 
 
193
void RenderQueue::clear() {
 
194
        opaque_items_.clear();
 
195
        blended_items_.clear();
 
196
}
 
197
 
193
198
void RenderQueue::draw(const int screen_width, const int screen_height) {
194
199
        // TODO(sirver): If next_z >= kMaximumZValue here, we ran out of z-layers to
195
200
        // correctly order the drawing of our objects (see