Marcus Sundberg <[EMAIL PROTECTED]> writes:
> Peter Bortas <[EMAIL PROTECTED]> writes:
>
> > The question I would like to ask is: How do I crossblit from a
> > memvisual to a normal visual. It's very embarrassing, but I can't even
> > get that to work. Please take a look at this example code and tell me
> > where I went wrong:
>
> A good, you found a bug in the memory target. ;)
> At least IIRC we agreed that paletted visuals should have some
> default palette, but that the exact layout of it is undefined.
>
> For now, you can simply use this workaround:
>
> > if( (memvis = ggiOpen("display-memory",NULL)) == NULL )
> > ggiPanic("Unable to open memory visual, exiting.\n");
> >
> > if (ggiSetMode(memvis, &memmode) != 0)
> > ggiPanic("Cannot set memvis mode!\n");
>
> ggiSetColorfulPalette(memvis);
Thanks!
--
Peter Bortas http://peter.bortas.org
Roxen IS http://www.roxen.com