www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/03/31/12:04:20

From: "J.A. Bijsterbosch" <bijster AT worldonline DOT nl>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: even more graphics problems with allegro
Date: 31 Mar 1998 16:41:40 GMT
Organization: World Online
Lines: 29
Message-ID: <01bd5c0a$2d77dba0$LocalHost@default>
References: <C12565D2 DOT 0033C6F8 DOT 00 AT vega DOT ads DOT it> <35192EB0 DOT F59BDE31 AT concentric DOT net>
NNTP-Posting-Host: asd1-p200.worldonline.nl
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Hello Dan,

D. Huizenga <skis AT concentric DOT net> schreef in artikel
<35192EB0 DOT F59BDE31 AT concentric DOT net>...
> [Snip]
> > I guess what you wanted was something like this:
> >   blit((BITMAP *)data[selecto].dat, screen, 0, 0, 0, 0, 320, 200);
> 
> Actually, the typecast is not neccessary, AFAIK.
> simply using
> 
> blit(data[selecto].dat, screen, 0, 0, 0, 0, 320, 200);
> 
> should work fine, and it's slightly less long to type.

Except if you're trying to do something in C++, then the typecast really is
nescessairy.

Just to be complete... ;-))

> Dan Huizenga

-- 
Greetings from sunny Amsterdam

                Jan

email: bijster AT worldonline DOT nl
http://home.worldonline.nl/~bijster

- Raw text -


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