Index: [thread] [date] [subject] [author]
  From: Steve Cheng <elmert@ipoline.com>
  To  : ggi-develop@eskimo.com
  Date: Mon, 10 Aug 1998 14:57:49 -0400 (EDT)

Re: Big changes to CVS tree

On Mon, 10 Aug 1998, Steve Cheng wrote:

> 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?

1) Change to vis->mode->virt.{x,y}
2) Add:

#define LIBGGI_FB_STRIDE(vis) (LIBGGI_APPBUFS(vis)[vis->curframe]->buffer.plb.stride)

okay?

--
Steve Cheng               

email: steve@ggi-project.org   
www: <http://shell.ipoline.com/~elmert/>;

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