From: Damian Yerrick Newsgroups: comp.os.msdos.djgpp Subject: Re: Plotting a 24bit color pixel in Allegro Organization: Pin Eight Software http://pineight.8m.com/ Message-ID: <03qabscgd7tpge4vhl9sdrp6omljpuj249@4ax.com> References: <8935rr$hs0$1 AT nnrp1 DOT deja DOT com> <893o80$vag$1 AT nnrp1 DOT deja DOT com> X-Newsreader: Forte Agent 1.7/32.534 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 25 X-Trace: /Kw5eGuuuipWbFNjGOAJAbexYCNailzahrkgkooNRMsw8iOqTKvqpi8PgJ6NksR5Ez5Fi82Dfr9z!KT4+SDeafNo6XrXx0IeFrmNnpBb9ix6JBja8i6v5OjjRfpNEl0708SXOE1Xi3qjdBUyvXlAJ4DpQ!lVSnSoQ= X-Complaints-To: abuse AT gte DOT net X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Abuse-Info: Otherwise we will be unable to process your complaint properly NNTP-Posting-Date: Thu, 24 Feb 2000 17:22:25 GMT Distribution: world Date: Thu, 24 Feb 2000 17:22:25 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com On Thu, 24 Feb 2000 17:03:00 GMT, JAB wrote: >In article , > Damian Yerrick wrote: >> Look in the Allegro docs for putpixel() and direct memory access. >> > > I have. I'm doing >putpixel(screen, x,y,makecol(Rendered[temp].r,Rendere[temp].g,Rendered >[temp].b)); > > at the moment and it's not working. Well I'll getting an image. But >not in a way that imply working true color to me, because there is no >more then 16 colors on the screen. Could I be missing something? Did you set_color_depth(32); first? -- Damian Yerrick http://yerricde.tripod.com/ Comment on story ideas: http://home1.gte.net/frodo/quickjot.html AOL is sucks! Find out why: http://anti-aol.org/faqs/aas/ View full sig: http://www.rose-hulman.edu/~yerricde/sig.html This is McAfee VirusScan. Add these two lines to your .sig to prevent the spread of .sig viruses. http://www.mcafee.com/