gui2/tcustom_tod: Remove direct call to gui2::twindow::draw()
It's unnecessary, results in a noticeable performance penality when updating ToD color shift sliders, and the documentation says it's not to be called directly (which raises the question of why it's a public method in the first place).
This commit is contained in:
parent
b6cd504024
commit
a660471f95
1 changed files with 0 additions and 1 deletions
|
@ -209,7 +209,6 @@ void tcustom_tod::update_tod_display(twindow& window)
|
|||
display_->draw();
|
||||
|
||||
window.invalidate_layout();
|
||||
window.draw();
|
||||
}
|
||||
|
||||
void tcustom_tod::update_lawful_bonus(twindow& window)
|
||||
|
|
Loading…
Add table
Reference in a new issue