Sub bitmaps in multiple threads
How should I use sub bitmaps created with al_create_sub_bitmap() function to draw in parent bitmap from threads?
I use allegro 5.1 and C++ 11
Thread #617188. Printed from Allegro.cc
Lock the thread and set the target bitmap. (Make sure only one thread at a time ever has the same target bitmap!)
In general though I would advice against doing it as it will be quite slow.