Quoting Ville Syrj?l? ([EMAIL PROTECTED]):
> > But when I tell them that
> > the user will want to be able to specify which layer he wants to use,
> > how do they code up SDL to take this option and deal with it?
> 
> Well you can have an option to specify the layer id. And if
> GetDisplayLayer() fails with that id you can bail out or fall back to
> DLID_PRIMARY. Or you could have the user specify a layer name and use
> GetName() via EnumDisplayLayers(). But for this kind of app I think the
> layer id could be better.

I can add an environment variable like SDL_DIRECTFB_LAYERID or similar
as the DirectFB backend is written by me.

-- 
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-dev" as subject.

Reply via email to