Hi,
I just commited an API change to DirectFB.
The bpp field has been removed and DSCAPS_ALPHA no longer exist.
There is now a pixelformat field instead.
Here is how to port your code (if needed):
------------ old code (taken from df_dok.c) -----------
/* create a surface and render an image to it */
memset( &dsc, 0, sizeof(DFBSurfaceDescription) );
dsc.flags = DSDESC_WIDTH | DSDESC_HEIGHT | DSDESC_BPP | DSDESC_CAPS;
dsc.width = SX;
dsc.height = SY;
dsc.bpp = 32;
dsc.caps = DSCAPS_ALPHA;
------------ new code ----------------------------------
/* create a surface and render an image to it */
memset( &dsc, 0, sizeof(DFBSurfaceDescription) );
dsc.flags = DSDESC_WIDTH | DSDESC_HEIGHT | DSDESC_PIXELFORMAT;
dsc.width = SX;
dsc.height = SY;
dsc.pixelformat = DSPF_ARGB;
--
Andreas Hundt [EMAIL PROTECTED]
Convergence Integrated Media GmbH http://www.convergence.de
Rosenthaler Str. 51 fon: +49(0)30-72 62 06 50
D-10178 Berlin fax: +49(0)30-72 62 06 55
--
Info: To unsubscribe send a mail to [EMAIL PROTECTED] with
"unsubscribe directfb-dev" as subject.