[cairo-commit] boilerplate/cairo-boilerplate-directfb.c

Andrea Canciani ranma42 at kemper.freedesktop.org
Mon Jun 20 03:05:05 PDT 2011


 boilerplate/cairo-boilerplate-directfb.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 8fb9a6727e2b769bfa388c6027ebad0a53ffa02b
Author: Haithem Rahmani <haithem.rahmani at gmail.com>
Date:   Mon Jun 20 11:16:14 2011 +0200

    boilerplate: Use correct flag type in DFBWindowDescription
    
    The window description flag macros are prefixed with DWDESC_.
    
    The issue was not noticed because DWDESC_CAPS and DSDESC_CAPS have the
    same value.
    
    Fixes https://bugs.freedesktop.org/show_bug.cgi?id=37049

diff --git a/boilerplate/cairo-boilerplate-directfb.c b/boilerplate/cairo-boilerplate-directfb.c
index cc69f85..be5efb6 100644
--- a/boilerplate/cairo-boilerplate-directfb.c
+++ b/boilerplate/cairo-boilerplate-directfb.c
@@ -116,7 +116,7 @@ _cairo_boilerplate_directfb_window_create_surface (DFBInfo	   *info,
     desc.width	= width;
     desc.height = height;
     if (content == CAIRO_CONTENT_COLOR_ALPHA) {
-	desc.flags |= DWDESC_CAPS | DSDESC_PIXELFORMAT;
+	desc.flags |= DWDESC_CAPS | DWDESC_PIXELFORMAT;
 	desc.caps  |= DWCAPS_DOUBLEBUFFER | DWCAPS_ALPHACHANNEL;
 	desc.pixelformat = DSPF_ARGB;
     }


More information about the cairo-commit mailing list