Skip to main content
gamedev.net
🔒 Locked

DirectDraw

Started by klubbkid Sep 22, 2000 at 7:34 AM 1 replies 300+ views
Original Post
klubbkid
klubbkid
Why is it that whenever someone alt-tabs out of my program, all my directdraw buffers get erased? - Derek
Robokid
Robokid
You have to resore them with:
IDirectDrawSurface3::Restore

check if surface is lost with:
IDirectDrawSurface3::IsLost
Tornado
Tornado
The data can also get corrupted sometimes, so you should also reload the bitmaps to the surfaces after your restore them.



- Goblineye Entertainment
The road to success is always under construction
Goblineye EntertainmentThe road to success is always under construction

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.