On Fri, Jul 30, 2004 at 11:20:24AM -0500, Brian G. Rhodes wrote:
> The actual display I am using does 1368x768 and not 1366x768 (it uses a
> scaler for 1366x768).
>
> My directfb code (0.9.20) is the following for init.
>
>
> void
> display_init()
> {
> DFBCardCapabilities card_caps;
> IDirectFBSurface *image_area;
> int ret;
>
> DirectFBInit(0, 0);
>
> DirectFBSetOption("bg-none", NULL);
> DirectFBSetOption("no-cursor", NULL);
> DirectFBSetOption("vsync-none", NULL);
>
> ret = DirectFBCreate(&dfb);
>
> dfb->SetCooperativeLevel(dfb, DFSCL_FULLSCREEN);
>
> dsc.flags = DSDESC_CAPS;
> dsc.caps = DSCAPS_PRIMARY | DSCAPS_FLIPPING | DSCAPS_SYSTEMONLY;
>
> dfb->CreateSurface(dfb, &dsc, &primary_surface);
> dfb->SetVideoMode(dfb, 1280, 1024, 8);
So you're not using 1326x768 after all?
--
Ville Syrj�l�
[EMAIL PROTECTED]
http://www.sci.fi/~syrjala/