From: David Jenkins Newsgroups: comp.os.msdos.djgpp Subject: Re: Allegro's xor_mode Date: Sun, 28 Sep 1997 12:48:41 +0100 Organization: None Distribution: world Message-ID: References: <342C3CA0 DOT 52BE AT club-internet DOT fr> NNTP-Posting-Host: jenkinsdavid.demon.co.uk MIME-Version: 1.0 Lines: 21 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk In article <342C3CA0 DOT 52BE AT club-internet DOT fr>, Charles Mennerat writes >Got some problems using xor_mode: > > >When I try to draw with a specific color(drawing a sizable frame for a >mouse pointer), nothing happens.(When i put the white color using >xor_mode it's an ugly color that appears).If i turn off xor_mode the >right color appears.Can someone tell me what did i forget to do? > > Thanks.Charles Mennerat You forgot to post the shortest compileable source code that shows the error. For all I know you might be leaving out the allegro_init(); line. :) -- http://www.jenkinsdavid.demon.co.uk for C programmers. David Jenkins