[mythtv] [PATCH] DSCAPS_DOUBLE in DirectFB
sg
dev4sg at yahoo.com
Thu Jun 10 17:21:13 EDT 2004
Hello,
my version of DirectFB (0.9.20) does not define
DSCAPS_DOUBLE, so compilation of Myth (CVS) fails
when configured with DirectFB support. Attached patch
defines DSCAPS_DOUBLE to DSCAPS_FLIPPING, if it's not
already defined.
-- sg
__________________________________
Do you Yahoo!?
Friends. Fun. Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/
-------------- next part --------------
Index: videoout_directfb.cpp
===================================================================
RCS file: /var/lib/mythcvs/mythtv/libs/libmythtv/videoout_directfb.cpp,v
retrieving revision 1.7
diff -u -r1.7 videoout_directfb.cpp
--- videoout_directfb.cpp 25 May 2004 05:13:30 -0000 1.7
+++ videoout_directfb.cpp 10 Jun 2004 20:59:03 -0000
@@ -336,6 +336,9 @@
//clear primary layer
desc.flags = DSDESC_CAPS;
desc.caps = DSCAPS_PRIMARY;
+#ifndef DSCAPS_DOUBLE
+#define DSCAPS_DOUBLE DSCAPS_FLIPPING
+#endif
if(data->cardCapabilities.acceleration_mask & DFXL_BLIT)
desc.caps = (DFBSurfaceCapabilities)(desc.caps | DSCAPS_DOUBLE);
DFBCHECKFAIL(data->dfb->CreateSurface(data->dfb, &desc, &(data->primarySurface)), false);
More information about the mythtv-dev
mailing list