[a5] Starting from scratch with a bitmap:Cant draw to target. Need to set flags?
Thread #611991. Printed from Allegro.cc
So I have been starting at my code too long, and I can't recall what needs to be done to be able to draw and then render a bitmap.
If declare the bitmap, and try
This causes a crash.
However, if I al_load_bitmap() or al_clone_bitmap() to the bitmap, and then proceed with the above code it works just fine. What am I forgetting? (Needed Flags?)
Thanks in advance!