Hi, I am creating surface like this
g_bs = malloc(g_width * g_height * 4); dsc.flags = DSDESC_CAPS | DSDESC_WIDTH | DSDESC_HEIGHT | DSDESC_PREALLOCATED | DSDESC_PIXELFORMAT; dsc.caps = DSCAPS_SYSTEMONLY; dsc.width = g_width; dsc.height = g_height; dsc.pixelformat = DSPF_ARGB; dsc.preallocated[0].data = g_bs; dsc.preallocated[0].pitch = g_width * 4; g_dfb->CreateSurface(g_dfb, &dsc, &g_s) if u use Blit function then its giving following errors: :DirectFB/Genefx: Could not lock source! --> Not supported! :DirectFB/Genefx: Could not lock source! --> Not supported! can one help me to eliminate this error. Thanks Mohan.
_______________________________________________ directfb-users mailing list directfb-users@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users