delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/01/20/15:27:33

From: Alejandro Martin Sanchez <alesan AT iname DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Is this Ok?
Date: Tue, 20 Jan 1998 15:54:49 -0300
Organization: Argentina On-Line
Lines: 21
Message-ID: <34C4F2F8.32142B0D@iname.com>
References: <34BF9148 DOT 4A05 AT iafrica DOT com>
NNTP-Posting-Host: pc2.cba.com.ar
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Dado lo que yo se, eso me parece correcto.
For what I know, that seems correct to me.

Elton Fry wrote:

> In Allegro(v3), is this code ok for redefining a bitmap?
>
> ...
> BITMAP *b=create_bitmap(x1,y1); //Size doesn't matter
> ...
> ...
> destroy_bitmap(b);  //kill it
> BITMAP *b=create_bitmap(x2,y2);  //Any size
> ...
>
> Does this de-allocate memory then re-allocate it proberly?
> Thanks
> Elton Fry



- Raw text -


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