From: dkmmouse AT aol DOT com Newsgroups: comp.os.msdos.djgpp Subject: Allegro 2.1 stretch_blit() bug? Date: 19 Nov 1996 14:36:25 GMT Organization: AOL http://www.aol.com Lines: 21 Sender: news AT aol DOT com Message-ID: <19961119143800.JAA23850@ladder01.news.aol.com> NNTP-Posting-Host: ladder01.news.aol.com To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp I seem to have a problem with the stretch_blit function in Allegro 2.1. void stretch_blit(BITMAP *source, BITMAP *dest, int source_x, source_y, source_width, source_height, int dest_x, dest_y, dest_width, dest_height); If I try to change source_y to anything other than 0, it crashes. I'm able to change source_x with no problems but not source_y. For example, if I change the line in test.c from: stretch_blit(global_sprite, screen, 0, 0, 32, 32, SCREEN_W/2-c, SCREEN_H/2-(256-c), c*2, (256-c)*2); to.. stretch_blit(global_sprite, screen, 0, 1, 32, 32, SCREEN_W/2-c, SCREEN_H/2-(256-c), c*2, (256-c)*2); Then it crashes during the stretch. Has anyone else tried this? Am I doing something wrong? How can this be fixed?