|
[Android] Backbuffer sub-bitmap crash |
kenmasters1976
Member #8,794
July 2007
|
I've tried to isolate the problem so I modified ex_android to include the following code right before al_flip_display(): // temp_bmp declaration and initialized to NULL at the top of the file if (!temp_bmp) { ALLEGRO_BITMAP *t = al_create_sub_bitmap(al_get_backbuffer(dpy), 100, 100, 100, 100); temp_bmp = al_clone_bitmap(t); al_destroy_bitmap(t); } al_draw_bitmap(temp_bmp, 0, 0, 0); This code seems to crash on the Android emulator at al_destroy_bitmap() since otherwise, after commenting that line, it works fine.
|
Edgar Reynaldo
Major Reynaldo
May 2007
|
Bump to prevent the dreaded thread lock. My Website! | EAGLE GUI Library Demos | My Deviant Art Gallery | Spiraloid Preview | A4 FontMaker | Skyline! (Missile Defense) Eagle and Allegro 5 binaries | Older Allegro 4 and 5 binaries | Allegro 5 compile guide |
|