Index: [thread] [date] [subject] [author]
  From: Marcus Sundberg <e94_msu@elixir.e.kth.se>
  To  : ggi-develop@eskimo.com
  Date: Tue, 11 Aug 1998 02:09:57 +0200

Re: Big changes to CVS tree

> > Oops, it's some bug with generic-linear-* ?
> > Try ./demo 640x480#1024x768 with X target...
> 
> include/internal.h:
> 
> #define LIBGGI_FB_WIDTH(vis)    (vis->mode->visible.x)
> #define LIBGGI_FB_HEIGHT(vis)   (vis->mode->visible.y)
> 
> What's that?

Hmm, the LIBGGI_FB_WIDTH/HEIGHT were refering to entries of the old ggi_info
struct. We should probably remove them completely to prevent confusion.

> 1) Change to vis->mode->virt.{x,y}
> 2) Add:
> 
> #define LIBGGI_FB_STRIDE(vis) (LIBGGI_APPBUFS(vis)[vis->curframe]->buffer.plb.stride)
> 
> okay?

Please adopt Andrew's soon to be used sheme and use:
vis->[drw]_frame->buffer.plb.stride
( [drw] as in regexp, not indexing an array ;)

//Marcus

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