Index: [thread] [date] [subject] [author]
  From: Marcus Sundberg <mackan@stacken.kth.se>
  To  : ggi-develop@eskimo.com
  Date: Sun, 16 May 1999 21:37:15 +0000

Re: Semi-Snag in PyGGI...

Evan Martin wrote:
> 
> Marcus Sundberg wrote:
> > Yes, the increment is fine.
> > But for the assignment you are casting the pointer to ggi_pixel* instead
> > of to a pointer to the actual pixel size.
> 
> How interesting...
> So is there no way to do it without some sort of switch() on display
> depth?

No. If you want to load/store a value in C you have to tell the
compiler how many bits you wish to load/store.

//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]