Index: [thread] [date] [subject] [author]
  From: Marcus Sundberg <mackan@stacken.kth.se>
  To  : ggi-develop@eskimo.com
  Date: Tue, 20 Apr 1999 19:31:04 +0000

Re: GGI help

john mccutchan wrote:
> 
> On Mon, Apr 19, 1999 at 08:10:13PM +0000, Marcus Sundberg wrote:
> >
> > Well, what mode are you using?
> > If you're calling this function on a 24-bit visual you're trying
> > to allocate 131MB of memory.
> 
>         I realized this ;), but i don't get how i put coloured pixels
>         onto the visual in 24/32 bit mode.. do you know how? :)

In the same way you put pixels in other modes. If you mean how to
encode pixels you should check out ggiMapColor() and ggiGetPixelFormat()
(or the pixelformat entry if you use DirectBuffer).

//Marcus
-- 
-------------------------------+------------------------------------
        Marcus Sundberg        | http://www.stacken.kth.se/~mackan/
 Royal Institute of Technology |       Phone: +46 707 295404
       Stockholm, Sweden       |   E-Mail: mackan@stacken.kth.se

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