[AD] [WIN] Restore DirectDraw surfaces |
[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]
The attached patch lets the DirectDraw code restore its surfaces as soon as it detects that they have been lost. This early restoring is enabled for all operations (locking/unlocking, page-flipping/triple buffering, DC related ones) except the hardware-accelerated ones because I'm not sure it is relevant in that case. This is a revised version of a patch I posted to AGP in reply to a couple of problem reports (and following an idea by George). No feedback up to now, but it certainly can't hurt. Commited. -- Eric Botcazou ebotcazou@xxxxxxxxxx
Attachment:
win_restore.zip
Description: Zip compressed data
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |