- Code: Select all
BITMAP*myplane=NULL;
myplane=load_bitmap("myplane_all-around_100hp.tga", NULL);
draw_sprite(screen,myplane,320,240);
destroy_bitmap(myplane);
But it comes up with this error
Debuy Error!
Program:
...isual_allegro\First\Allegro_testrun\Debug\Allegro_testun.exe
R6010
-abort() has been called
(Press Retry to bebug the application)
What's wrong with the code?
