I’m developing a Windows application that has a window that is infrequently updated (about every few minutes). I just found that when Windows energy saving blanks the screen, the updates I make to the screen (using SDL_RenderPresent) are ignored. Unfortunately, when the screen is unblanked (e.g. by pressing a key), there’s no SDL_WINDOWEVENT, so I’ve no way of knowing this happened, and I can’t redraw the screen. This leaves the window showing outdated content. So my question is how I can prevent this from happening, and either have the updates continue during screen blank (though I suspect Windows is to blame here), or have an event to handle and redraw the screen.
JAL