delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/06/24/13:23:15

Date: Sat, 21 Jun 1997 13:14:44 -0600
From: sanderson AT emails DOT com
Subject: interesting problem
Newsgroups: comp.os.msdos.djgpp
Message-ID: <866916433.19545@dejanews.com>
Organization: Deja News Usenet Posting Service
Lines: 16
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

     I have a weird (at least I think so)problem. In a routine I use to
draw a polygon to the screen I make a call to Allegro's hline. This
routine, called Draw_Poly, is part of a library I made. However when I
call Draw_Poly nothing is drawn! BUT, when I pasted the function
(unchanged) into the main file everything works fine! I know the function
is being called in the library because of different tests I've run. It
just seems that I can't draw to the screen from library routines
(Allegro's triangle and textout don't work either). Can anyone explain
this?

I apreciate any help!

Steve Anderson

-------------------==== Posted via Deja News ====-----------------------
      http://www.dejanews.com/     Search, Read, Post to Usenet

- Raw text -


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