delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/04/10/15:17:36

From: "D. Huizenga" <skis AT concentric DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Textprintf - Allegro
Date: 10 Apr 1998 14:18:24 EDT
Organization: Student
Lines: 26
Message-ID: <352E626E.86B788B@concentric.net>
References: <352dfcd7 DOT 6907147 AT news DOT dial DOT pipex DOT com>
NNTP-Posting-Host: ts002d05.gps-mi.concentric.net
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Richard Ward wrote:
> 
> I am currently having problems with Allegro textprintf() function.  If
> I want to print to a BITMAP then it works fine, however I want to
> print straight onto the visiable screen and not the BITMAP.
> 
> I know I could always just print onto a BITMAP and then transfer that
> to the screen but the problem here is that I do not want to use any
> global variables as the main() holds the BITMAP variable and I want to
> print to the screen in another function.
> 
> I have tried using the screen variable as the BITMAP but this just
> causes a General protection Fault.

What graphics mode/driver are you using? Have you tried the other
graphical functions (Line, rectfill, etc.)?

--
Dan Huizenga
Email: Skis AT Concentric DOT net
Visit my page: http://www.concentric.net/~skis
The Official Home Page of BGui and The Allegro Wishlist.
The Official Home Page of The General Media Player.
The Official Mirror Page of the G_Windows GenII Project.

{ NEW! BGui .4 is out!  Also check out the GMP Project. }

- Raw text -


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