I'm using SDL2 with C++ for a point and click menu system.
Should I redraw the back buffer on every pass of the input loop or just redraw the back buffer on every change.
IE
'While prog is running, check for input, draw everything to back buffer , then flip.'
OR
'While prog is running, check for input, draw changes to back buffer if any are needed , then flip.'
It's a hang over from Blitz where you would redraw everything on every pass.
Any advice appreciated, have fun cps.