On Tue, Jan 01, 2008 at 04:46:38PM +0000, [EMAIL PROTECTED] wrote:
> Hello
> 
> I am trying to create a window and put a box around it.  Nothing spectacular, 
> the code compiles and runs ok but nothing displays onscreen.  Attached is the 
> code, any ideas what is wrong??
> 
> Mark RAder
> 
>   DFBSurfaceDescription dsc;
>   DFBDisplayLayerConfig       dscsurf;
>   DFBWindowDescription  dwinconf;
>   IDirectFBDisplayLayer *dl;
>   IDirectFBImageProvider *provider;
>   IDirectFBWindow   *vwindow;
>   IDirectFBSurface  *vsurface;
> 
>   DFBCHECK (DirectFBInit (&argc, &argv));
>   DFBCHECK (DirectFBCreate (&dfb));
>   DFBCHECK (dfb->SetCooperativeLevel (dfb, DFSCL_FULLSCREEN));

You're mixing fullscreen and windowed modes. It will not work. Just get
rid of the line above and the code creating the primary surface and you
should see the window.

-- 
Ville Syrjälä
[EMAIL PROTECTED]
http://www.sci.fi/~syrjala/

_______________________________________________
directfb-dev mailing list
directfb-dev@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to