why doesnt this show
i found it from a tutorial in the net
BITMAP *my_pic; //Declare a BITMAP called my_pic
my_pic = load_bitmap("picture.bmp", NULL); // Load our picture
i have a bmp picture that i have named picture.bmp
by the way how will the program find "picture.bmp"
here is the enyire code:
#include <allegro.h>
int main(int argc, char *argv[])
{
allegro_init();
install_keyboard();
set_color_depth(16);
set_gfx_mode(GFX_AUTODETECT, 640,480,0,0);
BITMAP *my_pic;
my_pic = load_bitmap("picture.bmp", NULL);
acquire_screen();
blit(my_pic, screen, 0,0,0,0,50,50);
blit(my_pic, screen, 50,50,100,100,150,150);
release_screen();
readkey();
destroy_bitmap(my_pic);
return(0);
}
END_OF_MAIN();