Quoting Wood, David ([EMAIL PROTECTED]):
> I noticed in my source and destination validation it's setting the srcformat
> to be the return of DFB_PIXELFORMAT_INDEX macro.  I'm running in 16bit mode,
> my supposition at the moment is that the return values of
> DFB_PIXELFORMAT_INDEX do not exactly match the proper values for the
> srcFormat and dstFormat registers on the 2D chipset for the Voodoo.  For a
> 16bit rgb surface, what is the final return of this macro?  I suppose I
> could calculate it myself, but I thought I'd be lazy and ask.

DFB_PIXELFORMAT_INDEX( DSPF_RGB16 )  is 1.
DFB_PIXELFORMAT_INDEX( DSPF_RGB32 )  is 3.

So it seems to use the right entries of blitFormat[].

-- 
Best regards,
  Denis Oliver Kropp

.------------------------------------------.
| DirectFB - Hardware accelerated graphics |
| http://www.directfb.org/                 |
"------------------------------------------"

           convergence integrated media GmbH


-- 
Info:  To unsubscribe send a mail to [EMAIL PROTECTED] with 
"unsubscribe directfb-dev" as subject.

Reply via email to