diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2008-10-28 12:10:46 +0000 |
---|---|---|
committer | Carlos Garcia Campos <carlosgc@gnome.org> | 2008-10-28 18:49:51 +0100 |
commit | e72e663cf333a88ec0dcfc3b8aaf79c93a783295 (patch) | |
tree | 07751f590ce5718f20b0081c378db5ed0cae6b7c | |
parent | 22a3be83641df53dbbb81c8c6f3e072d4eb72624 (diff) |
Ensure row-alignment match pixman's requirments
pixman requires a row-alignment of 4 bytes, so we need to inform gs to
create a memory device matching that requirement.
-rw-r--r-- | libspectre/spectre-device.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libspectre/spectre-device.c b/libspectre/spectre-device.c index 1d05941..f034c04 100644 --- a/libspectre/spectre-device.c +++ b/libspectre/spectre-device.c @@ -229,6 +229,7 @@ spectre_device_render (SpectreDevice *device, args[arg++] = dsp_format = _spectre_strdup_printf ("-dDisplayFormat=%d", DISPLAY_COLORS_RGB | DISPLAY_DEPTH_8 | + DISPLAY_ROW_ALIGN_32 | #ifdef WORDS_BIGENDIAN DISPLAY_UNUSED_FIRST | DISPLAY_BIGENDIAN | |