Index: [thread] [date] [subject] [author]
  From: Andrew Apted <ajapted@netspace.net.au>
  To  : ggi-develop@eskimo.com
  Date: Fri, 21 Aug 1998 14:59:25 +1000

Re: requesting bits-per-colour in GGI?

teunis writes:

>  it usetabe that you could get this from
>  	ggiGetInfo(ggi_vis)->fb.bpc
>  
>  is it this?
>  	ggiGetPixelFormat(ggi_vis)->size
  
ggiGetPixelFormat(vis)->depth is the color depth (e.g. 15 for r5g5b5).
ggiGetPixelFormat(vis)->size  is the pixel size  (e.g. 16 for r5g5b5).

The old way has been removed.

Cheers,
_____________________________________________  ____
                                               \  /
  Andrew Apted   <andrew@ggi-project.org>       \/
  

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