On Sat, Jun 02, 2007 at 02:05:44AM +0800, catch wrote: > On 6/1/07, Claudio Ciccani <[EMAIL PROTECTED]> wrote: > > > >catch wrote: > >> primary->SetPorterDuff( primary, DSPD_SRC ); > >> > >> primary->SetBlittingFlags( primary, DSBLIT_BLEND_ALPHACHANNEL ); > >> > >> primary->SetDrawingFlags( primary, DSDRAW_BLEND ); > >> > >> primary->SetColor( primary, 0, 0, 255, 128 ); > >> > >> primary->FillRectangle( primary, 0, 0, width, height ); > >> > >> primary->Flip( primary, NULL, DSFLIP_WAITFORSYNC ); > >> > >> sub ->SetBlittingFlags(sub, DSBLIT_BLEND_ALPHACHANNEL ); > > > >If you simply want to copy the contents, set blittingflags to DSBLIT_NOFX. > > > thanks, but I tried that flag, > the alpha values were not copied from the surface and still set to 255?? > is there still anything wrong?
Which gfxdriver are you using? -- Ville Syrjälä [EMAIL PROTECTED] http://www.sci.fi/~syrjala/ _______________________________________________ directfb-users mailing list [email protected] http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
