   unable to grabframe...
  Hello all!, I am currently working in Allegro. and using this grabframe function BITMAP grabframe(BITMAP *source, int width, int height, int startx, int starty, int columns, int frame){ BITMAP *temp = create_bitmap(width,height); int x = startx + (frame % columns) * width; int y = starty + (frame / columns) * height;  blit(source,temp,x,y,0,0,width,height);  return temp;}//then later in the code i try something like this temp = load_bitmap("player.bmp",NULL); for(int n =0; n<4; n++)   player[n] = grabframe(temp,29,52,0,0,COLS,n);well the problem is when i try to blit player[0] it comes blank black screen, Then it crashes. When I was debuging found out that temp can be blited. so the problem is how grabframe is grabbing the frames. Thanks all in advance!   