[gegl] exr-save: avoid hard-coding Imath_2_2 name space
- From: Øyvind "pippin" Kolås <ok src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] exr-save: avoid hard-coding Imath_2_2 name space
- Date: Wed, 22 Aug 2018 13:00:18 +0000 (UTC)
commit c1c3541caab485384087bbbcf1c83ef2d5bd4d43
Author: Hussam Al-Tayeb <me hussam eu org>
Date: Wed Aug 22 14:55:31 2018 +0200
exr-save: avoid hard-coding Imath_2_2 name space
operations/external/exr-save.cc | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/operations/external/exr-save.cc b/operations/external/exr-save.cc
index b2032046c..018e5d9af 100644
--- a/operations/external/exr-save.cc
+++ b/operations/external/exr-save.cc
@@ -145,10 +145,10 @@ write_tiled_exr (const float *pixels,
&blue[0], &blue[1],
NULL, NULL, NULL);
{
- Imf::Chromaticities c1 (Imath_2_2::V2f(red[0],red[1]),
- Imath_2_2::V2f(green[0],green[1]),
- Imath_2_2::V2f(blue[0],blue[1]),
- Imath_2_2::V2f(wp[0],wp[1]));
+ Imf::Chromaticities c1 (Imath::V2f(red[0],red[1]),
+ Imath::V2f(green[0],green[1]),
+ Imath::V2f(blue[0],blue[1]),
+ Imath::V2f(wp[0],wp[1]));
Imf::addChromaticities (header, c1);
}
}
@@ -184,10 +184,10 @@ write_scanline_exr (const float *pixels,
&green[0], &green[1],
&blue[0], &blue[1],
NULL, NULL, NULL);
- Imf::Chromaticities c1 (Imath_2_2::V2f(red[0],red[1]),
- Imath_2_2::V2f(green[0],green[1]),
- Imath_2_2::V2f(blue[0],blue[1]),
- Imath_2_2::V2f(wp[0],wp[1]));
+ Imf::Chromaticities c1 (Imath::V2f(red[0],red[1]),
+ Imath::V2f(green[0],green[1]),
+ Imath::V2f(blue[0],blue[1]),
+ Imath::V2f(wp[0],wp[1]));
Imf::addChromaticities (header, c1);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]