delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/01/09/12:51:16.2

Message-Id: <199901091749.MAA03610@delorie.com>
Comments: Authenticated sender is <mert0407 AT sable DOT ox DOT ac DOT uk>
From: "George Foot" <george DOT foot AT merton DOT ox DOT ac DOT uk>
To: djgpp AT delorie DOT com
Date: Sat, 9 Jan 1999 17:48:20 +0000
MIME-Version: 1.0
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019