On Fri, Sep 07, 2007 at 05:10:30PM +0100, [EMAIL PROTECTED] wrote: > Following my post on SetSrcColorKey(). > > The documentation for IDirectFBSurface::SetSrcColorKey() says: > > Set the source color key, i.e. the color that is excluded when blitting FROM > this surface TO another that has source color keying enabled. > > But the source code (lines 857-859 of idirectfbsurface.c in DFB 1.0.0 says: > > The new key won't be applied to this surface's state. > The new key will be taken by the destination surface to apply it > to its state when source color keying is used. > > I am not sure these statements in fact directly contradict each other but > they sure confuse me.
They don't seem at all contradictory to me ie. dst->Blit(dst, src, ...) will take the source color key value from src. -- Ville Syrjälä [EMAIL PROTECTED] http://www.sci.fi/~syrjala/ _______________________________________________ directfb-dev mailing list [email protected] http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev
