I'm drawing YUV image onto window on Windows.
Every time a screen saver launched or screen turned off, the window can not show anything again after I woke up the screen. I mean, the window shows nothing even through every Direct 3D APIs returns OK.
What should I do to make sure the window show image properly after such conditions.
PS. I'm drawing images once every 2 sec (30 FPS).