[AD] [WIN] lock/switch patch

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


Attached is a patch that modifies the locking/unlocking mechanism so as to
ensure that all the DirectX surfaces are properly released when the program
is switched out. I hope this will get rid of the artifacts Paul Pridham
reported he had sometimes found when ALT-TABing.

Thanks to Javier, it has been tested under heavy load and on a fast CPU, so
it should be deadlocks safe.

--
Eric Botcazou
ebotcazou@xxxxxxxxxx

Attachment: wddlock4.zip
Description: Zip compressed data



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/