Hi,

I created two sufaces (src_surface, dest_surface) with DSPF_A1 pixelformat,
same size.
and did Blit between these two surfaces.
But Nothing moved to dest_surface from src_surface.

...
desc.pixelformat = DSPF_A1;

dfb->CreateSurface(dfb, &desc, &src_surface);
dfb->CreateSurface(dfb, &desc, &dest_surface);

src_surface->Lock(src_surface, DSLF_WRITE, ...);
// copy my own data to src_surface
...

dest_surface->SetBlittingFlags(dest_surface, DSBLIT_NOFX);
 dest_surface->Blit(dest->surface, src_surface, NULL, 0, 0);

src_surface->Unlock(src_surface);


Do I miss something?
_______________________________________________
directfb-users mailing list
directfb-users@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to