hello,

i have a prob by DirectFB/DirectFBCreate

       ---------------------- DirectFB v0.9.21 ---------------------
             (c) 2000-2002  convergence integrated media GmbH
             (c) 2002-2003  convergence GmbH
        -----------------------------------------------------------

(*) Single Application Core. (2004-04-21 22:08)
(*) DirectFB/misc/memcpy: using ppcasm_memcpy()
(*) DirectFB/InputDevice: IMPS/2 Mouse 0.9 (convergence integrated media
 GmbH) (*) DirectFB/InputDevice: DBOX-2 FP IR 0.1 (convergence integrated
 media GmbH) (*) DirectFB/InputDevice: Keyboard 0.9 (convergence integrated
 media GmbH) (*) DirectFB/GraphicsDevice: CCube Avia eNX/GTX 0.3 (Thomas
 Klamm)
(!) DirectFB/DirectFBCreate: Setting desktop buffer mode failed!
     -> No virtual resolution support or not enough memory?
        Falling back to system back buffer.

DFBCHECK(DirectFBSetOption("no-cursor", NULL));
        DFBCHECK(DirectFBCreate( &dfb ));
        DFBSurfaceDescription dsc;
        memset( &dsc, 0, sizeof(DFBSurfaceDescription) );
        dsc.flags = (DFBSurfaceDescriptionFlags)(DSDESC_CAPS);
        dsc.caps = (DFBSurfaceCapabilities)(DSCAPS_PRIMARY |
DSCAPS_FLIPPING /*|
DSCAPS_ALPHA*/);
        DFBCHECK(dfb->CreateSurface( dfb, &dsc, &primary ));
        int width, height;
        primary->GetSize( primary, &width, &height );
        primary->SetDrawingFlags( primary, DSDRAW_NOFX );
        primary->SetColor( primary, 0, 0, 0, 0xFF );
        primary->FillRectangle( primary, 0, 0, width, height );
        primary->Flip( primary, NULL, DSFLIP_WAITFORSYNC );
        primary->FillRectangle( primary, 0, 0, width, height );
        primary->Flip( primary, NULL, DSFLIP_WAITFORSYNC );
        DFBRegion screenrect = { 0, 0, 799, 599 };
        primary->SetClip( primary, &screenrect );

   return;


-- 
Info:  To unsubscribe send a mail to [EMAIL PROTECTED] with 
"unsubscribe directfb-dev" as subject.

Reply via email to