Hi:
     Problem found in DirectFB example 0.9.13/src df_porter.c 

     /* set our cooperative level to DFSCL_FULLSCREEN
        for exclusive access to the primary layer */
     DFBCHECK(dfb->SetCooperativeLevel( dfb, DFSCL_FULLSCREEN));

     /* get the primary surface, i.e. the surface of the
        primary layer we have exclusive access to */
     {
          DFBSurfaceDescription dsc;

          dsc.flags = DSDESC_CAPS ;//| DSDESC_PIXELFORMAT;
          dsc.caps = DSCAPS_PRIMARY | DSCAPS_VIDEOONLY;
          dsc.pixelformat = DSPF_ARGB;

          DFBCHECK(dfb->CreateSurface( dfb, &dsc, &primary ));
     }
    when CreateSurface,DFB report : Invalid argument,Not supported.

My Viedo Card chipset is nVidia RIVA TNT2



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

Reply via email to