[gegl] wind: propagate space
- From: Øyvind "pippin" Kolås <ok src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] wind: propagate space
- Date: Fri, 6 Jul 2018 10:39:17 +0000 (UTC)
commit 9116febb85a59f8ffd8cebfa88fda143e606feab
Author: Øyvind Kolås <pippin gimp org>
Date: Fri Jul 6 12:38:42 2018 +0200
wind: propagate space
operations/common-gpl3+/wind.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/operations/common-gpl3+/wind.c b/operations/common-gpl3+/wind.c
index cb8539471..6c93e92f4 100644
--- a/operations/common-gpl3+/wind.c
+++ b/operations/common-gpl3+/wind.c
@@ -344,12 +344,12 @@ static void
prepare (GeglOperation *operation)
{
const Babl *in_format = gegl_operation_get_source_format (operation, "input");
- const Babl *format = babl_format ("RGB float");
+ const Babl *format = babl_format_with_space ("RGB float", in_format);
if (in_format)
{
if (babl_format_has_alpha (in_format))
- format = babl_format ("RGBA float");
+ format = babl_format_with_space ("RGBA float", in_format);
}
gegl_operation_set_format (operation, "input", format);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]