erasing sections of a bitmap
I was wondering how you would erase a circle or a rectangle out of a bitmap.
this does not work but would it be something similar to this but with something else added in?
Thread #612876. Printed from Allegro.cc
Something like this should work:
al_set_blender(ALLEGRO_ADD, ALLEGRO_ONE, ALLEGRO_ZERO);
al_set_blender(ALLEGRO_ADD, ALLEGRO_ONE, ALLEGRO_INVERSE_ALPHA);