Fix 'flickering' in the main menu.
It makes no sence to set a clip_rect when it's destroyed directly. The issue was spotted by Crendgrim.
This commit is contained in:
parent
aa51d1c6da
commit
2dc4c0d3bf
1 changed files with 1 additions and 3 deletions
|
@ -736,9 +736,7 @@ void twindow::draw()
|
|||
dirty_list_.push_back(std::vector<twidget*>(1, this));
|
||||
update_rect(screen_area());
|
||||
#else
|
||||
if(!new_widgets) {
|
||||
clip_rect_setter clip(frame_buffer, &dirty_rect);
|
||||
}
|
||||
clip_rect_setter clip(frame_buffer, &dirty_rect);
|
||||
#endif
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Reference in a new issue