From 8fb9a6727e2b769bfa388c6027ebad0a53ffa02b Mon Sep 17 00:00:00 2001 From: Haithem Rahmani Date: Mon, 20 Jun 2011 11:16:14 +0200 Subject: [PATCH] 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 --- boilerplate/cairo-boilerplate-directfb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boilerplate/cairo-boilerplate-directfb.c b/boilerplate/cairo-boilerplate-directfb.c index cc69f85c1..be5efb652 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; }