The SDL forums have moved to discourse.libsdl.org.
This is just a read-only archive of the previous forums, to keep old links working.


SDL Forum Index
SDL
Simple Directmedia Layer Forums
Redraw after windows sleep
pingel


Joined: 13 Dec 2016
Posts: 1
Location: Lystrup, Denmark
Hi,

We recently moved from SDL to SDL2 and have found that after Windows goes to sleep and wakes up, the SDL2 screen is not automatically refreshed.
Our application only updates the screen when there is a change, and only the parts of the screen that needs a change is redrawn.
Can we do anything to get SDL2 to refresh its framebuffer on the screen after windows sleeps?

Thanks
Søren