Message-Id: <199901091749.MAA03610@delorie.com> Comments: Authenticated sender is From: "George Foot" To: djgpp AT delorie DOT com Date: Sat, 9 Jan 1999 17:48:20 +0000 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: Allegro: Help! Draw_Sprite doesn't like me! CC: lupinecub AT hotmail DOT com X-mailer: Pegasus Mail for Win32 (v2.42a) Reply-To: djgpp AT delorie DOT com On 9 Jan 99 at 1:46, sowelu AT my-dejanews DOT com wrote: > For some reason, any time I make any sort of attempt whatsoever at > draw_sprite or blit, Allegro decides it doesn't like it, and that it wants to > sigsegv. So I declare 'BITMAP *sprite_buffer', set color and graphics modes > (8 bits, VESA1, 640x480), create_bitmap into my sprite_buffer, then > draw_sprite from my datafile to that. Did the call to `set_gfx_mode' succeed? (check its return value) Did the call to `create_bitmap' succeed? (check its return value) Did the call to `load_datafile' succeed? (check its return value) -- george DOT foot AT merton DOT oxford DOT ac DOT uk