Hi Egor,

Thank you for your answer. I did what you suggested

  DFBDisplayLayerDescription ret_desc;
  DFBDisplayLayerConfig      dlc;

  dfb->GetDisplayLayer( dfb, 0, &videolayer );

  dlc.flags = DLCONF_OPTIONS;
  dlc.options = DLOP_OPACITY;
  videolayer->SetConfiguration( videolayer, &dlc );

  videolayer->GetDescription(videolayer, &ret_desc);

  if (ret_desc.caps & DLCAPS_OPACITY)
      printf( "  - Supports blending based on global alpha factor.\n" );

but the flag value wasn't changed. Am I doing something wrong?

Thanks.
_______________________________________________
directfb-users mailing list
directfb-users@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to