directFB 1.2.7
Code:
-----------------------------
...
IDirectFBSurface * primary_surface = NULL;
DFBSurfaceDescription primary_surface_description;
primary_surface_description.flags = DSDESC_CAPS | DSDESC_PALETTE;
primary_surface_description.caps = DSCAPS_PRIMARY | DSCAPS_FLIPPING;
DFBColor a = { 0xf0, 0x00, 0x00, 0xf0 };
primary_surface_description.entries = &a;
-----------------------------
But when compiling i got:
error: 'DFBSurfaceDescription' has no member named 'entries'
The same is for size.
What is wrong ?
----------------------------------------------------------------------
Ten program odstrasza komary.
Sprawdz >> http://link.interia.pl/f22d9
_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users