Randall <[EMAIL PROTECTED]> writes:

> >
> > >     map.r = 0x00; map.b = map.g = 0;
> > >     color = ggiMapColor(*(sceenBuf), &map);
> >
> > This is all black.
> >
> > >     ggiPutPixel(*(screenBuf), 20, 20, color);
> > >     map.b = 255; map.r = map.g = 0;
> >
> > This is also black on practicly all supported hardware.
> > You don't happen to mean map.b = 65535; map.r = map.g ?
> 
> You are correct--I meant 0xFF.

0xFF == 255, so that would still be black. Are you sure you don't
mean 65535 aka 0xFFFF ?

//Marcus
-- 
-------------------------------+------------------------------------
        Marcus Sundberg        | http://www.stacken.kth.se/~mackan
 Royal Institute of Technology |       Phone: +46 707 452062
       Stockholm, Sweden       |   E-Mail: [EMAIL PROTECTED]

Reply via email to