Mail Archives: djgpp/1998/04/10/15:17:36
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 -