delorie.com/archives/browse.cgi | search |
From: | garbage DOT collection AT dial DOT pipex DOT com (Richard Ward) |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Textprintf - Allegro |
Date: | Fri, 10 Apr 1998 11:09:04 GMT |
Organization: | UUNet UK server (post doesn't reflect views of UUNet UK) |
Lines: | 15 |
Message-ID: | <352dfcd7.6907147@news.dial.pipex.com> |
NNTP-Posting-Host: | userj266.uk.uudial.com |
Mime-Version: | 1.0 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
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. Richard Ward www.bigfoot.com/~rich.ward
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |