diff options
author | Haithem Rahmani <haithem.rahmani@gmail.com> | 2011-06-20 11:16:14 +0200 |
---|---|---|
committer | Andrea Canciani <ranma42@gmail.com> | 2011-06-20 11:43:38 +0200 |
commit | 8fb9a6727e2b769bfa388c6027ebad0a53ffa02b (patch) | |
tree | 9173415dd2449432bbd0f8de62397844eed63f97 /boilerplate | |
parent | 190d8d72902b930d7cddb042fa3386d100dd072c (diff) |
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
Diffstat (limited to 'boilerplate')
-rw-r--r-- | boilerplate/cairo-boilerplate-directfb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/boilerplate/cairo-boilerplate-directfb.c b/boilerplate/cairo-boilerplate-directfb.c index cc69f85c..be5efb65 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; } |