Index: [thread] [date] [subject] [author]
  From: Jan Kneschke <Jan.Kneschke@kiel.netsurf.de>
  To  : ggi-develop@eskimo.com
  Date: Tue, 27 Jul 1999 19:55:23 +0200 (CEST)

Re: Xblit 1 -> 16 on X

On Mon, 26 Jul 1999, Steve Cheng wrote:

> On Mon, 26 Jul 1999, Jan Kneschke wrote:
> 
> > how to set this palette ?? 
> 
> ggi_color palette[2] = { {0,0,0}, {0xffff,0xffff,0xffff} };
> 
> ggiSetPalette(memvis, 0, 2, palette);
yes. this works. 
 
> See ggiSetPalette(3).
> (Although I'm sure people like Marcus will nitpick that this doesn't
> check for success and doesn't use GGI_PALETTE_DONTCARE :)
:) 


thats all
  Jan

--- 
       Project: GGI - S3-Vision-driver -- http://www.ggi-project.org/
         -)=  Jan (Weigon) Kneschke -- Kiel -- Northern Germany =(-

Index: [thread] [date] [subject] [author]