I’ve a question about drawing. Is it necessary to draw() (thus, redraw) every time the function is called?
I mean: I’m thinking to place some kind of “isDirty” flag on step() (for some reasons) only when somethings to draw is changed, and than check within draw() if that flag is true; and only in that case, redraw.
Can I do it? or for some reason (i.e. switch os windows, overlap with other software, and so on) its necessary to always draw content?