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/
_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users