Hi,

On Thu, 2010-04-15 at 17:41 +0200, Tony Mozi wrote:
>   dsc.flags = DSDESC_CAPS;
>   dsc.caps  = DSCAPS_PRIMARY | DSCAPS_FLIPPING;
>   DFBCHECK (dfb->CreateSurface( dfb, &dsc, &primary ));
> [...]
>   DFBCHECK (primary->DrawString (primary, text, -1, screen_width / 2,
> screen_height / 2, DSTF_CENTER));

add
primary->Flip ()
and it should work. That's because you created your primary surface as
double buffered.

Cheers.
Andre'

ps: please post such questions to the users list :-)


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

Reply via email to