mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-01-07 23:00:25 +01:00
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
This commit is contained in:
parent
190d8d7290
commit
8fb9a6727e
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue