Quoting Simon Willcocks:
>      if (m_desc.caps & DICAPS_COLORKEY) {
> //*** This flag *is* set and call made
>           DFB_ADD_BLITTING_FLAG( m_flags, DSBLIT_SRC_COLORKEY );
> 
>           surface->SetSrcColorKey( m_desc.colorkey_r,
>                                    m_desc.colorkey_g,
>                                    m_desc.colorkey_b );
>      }

[...]

> >From dfbshow.cpp, DFBShow::Render (called by DFBApp::Run at startup and
> followed by a Flip of the surface):
> 
>      surface->Clear();

m_image.PrepareTarget( surface );

seems to be missing here. It sets the gathered blitting flags.

>      surface->Blit( m_image, NULL, x, y );

-- 
Best regards,
  Denis Oliver Kropp

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

                            Convergence GmbH


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

Reply via email to