delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/06/10/16:48:42

From: gautam AT interlog DOT com (Gautam N. Lad)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Allegro: Displaying 640x480 PCX file
Date: Fri, 06 Jun 97 06:20:49 GMT
Organization: InterLog Internet Services
Lines: 24
Message-ID: <5nagnc$s38@news.interlog.com>
References: <3398be25 DOT 7398629 AT news DOT primenet DOT com>
NNTP-Posting-Host: ip203-177.cc.interlog.com
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Hi,
>Hi.  I am trying to display a 640x480 PCX image using allegro.  I took
>the source code to ex15 and changed the 320,200 in set_gfx_mode to
>640x480.  When I run it and enter the correct image file name the
>screen text becomes purple.  I am running in win 95.  after I run the
>program, the dos box still works fine though

Have you tried to change the first arguement to set_gfx_mode()?
Use GFX_AUTODETECT and it should work.  I just tried
it.  I'm assuming it's this problem.

Bye!

****************************************************
* Gautam N. Lad                                    *
*--------------------------------------------------*
*                                                  *
* E-Mail    : gautam AT interlog DOT com                  *
* Website   : http://www.interlog.com/~gautam      *
*                                                  *
* OS/2, DOS/Windows, Graphics Gallery, Software,   *
* Links, Rayzor Editor/2, POV-Ray, TexturEyes,     *
* POV-PAK and lots lots lots more!!!!!!!           *
****************************************************

- Raw text -


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