Don't automatically call `clear_background`
Hello there.
Is there a way to disable the auto calling of clear_background? As I'm rendering only when the display is updated and the display is cleared every frame, the display is just black.
Not really :(
Unfortunately, some backends do clear the background automatically and to make the same behavior across all the backends - we need to keep clearing the screen.
Is there a workaround? Maybe a bool in window_conf()?
Yes, there is a workaround!
Un update, draw everything to a texture once, and than draw that texture every frame. This will allow to handle window resizes properly and do not depend on the cross-platforms details on how OS preserve window content on moving window, alt-tabs etc.
Created #705 but unfortunately I can't get this to work...