Thanks for ur reply..........
  i have tried with ur patch then also its giving same  error. with out
DSCAPS_SYSTEMONLY option  its working with out any errors.
> problem.

On Fri, Nov 28, 2008 at 4:47 AM, Ville Syrjälä <[EMAIL PROTECTED]> wrote:

> On Fri, Nov 28, 2008 at 01:43:03AM +0530, Bajimohanreddy Bandi wrote:
> > Hi,
> >           Thanks for ur quick reply.
> > i have removed DSCAPS_SYSTEMONLY option then its working with out any
> > problem.
>
> Could you guys also try if this patch fixes the issue completely?
>
> diff --git a/src/core/surface.c b/src/core/surface.c
> index 3e08a7f..fc96f3d 100644
> --- a/src/core/surface.c
> +++ b/src/core/surface.c
> @@ -168,7 +168,7 @@ dfb_surface_create( CoreDFB                  *core,
>           }
>      }
>
> -     if (surface->config.caps & DSCAPS_SYSTEMONLY)
> +     if (surface->config.caps & DSCAPS_SYSTEMONLY && !(type &
> CSTF_PREALLOCATED))
>           surface->type = (type & ~CSTF_EXTERNAL) | CSTF_INTERNAL;
>      else if (surface->config.caps & DSCAPS_VIDEOONLY)
>           surface->type = (type & ~CSTF_INTERNAL) | CSTF_EXTERNAL;
> --
> 1.5.6.4
>
> --
> Ville Syrjälä
> [EMAIL PROTECTED]
> http://www.sci.fi/~syrjala/ <http://www.sci.fi/%7Esyrjala/>
>
_______________________________________________
directfb-users mailing list
directfb-users@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to