I have to continue this problem:
https://www.allegro.cc/forums/thread/611811/974446#target
I haven't looked yet into the 5.1.5-branch, but tested Allegro 5.0.9 with my
problem. So, for your information:
With Allegro 5.0.9 a combination like this handles the problem in most cases:
...but there is still a little timing glitch that may slip through to:
and throws an exception.
Can you provide a test case?
Also, use proper code tags.
http://www.akluwi.de/al/al_lcktest.zip
This is even more mysterious.
The device exists until the routine 'stretchblit' is reached - then it's lost...
It's cutted and reduced from the original program which uses to run fine.
I'm really confused at the moment.