[gegl] gegl:opacity Only build process_simd() when HAS_G4FLOAT is defined



commit 9d71f999ec053edc7c607675095dafd106a56950
Author: �yvind Kolås <pippin gimp org>
Date:   Wed Dec 2 20:43:52 2009 +0000

    gegl:opacity Only build process_simd() when HAS_G4FLOAT is defined

 operations/common/opacity.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/operations/common/opacity.c b/operations/common/opacity.c
index 31ebfea..325be96 100644
--- a/operations/common/opacity.c
+++ b/operations/common/opacity.c
@@ -89,6 +89,7 @@ process (GeglOperation       *op,
 }
 
 
+#ifdef HAS_G4FLOAT
 static gboolean
 process_simd (GeglOperation       *op,
               void                *in_buf,
@@ -126,6 +127,7 @@ process_simd (GeglOperation       *op,
       }
   return TRUE;
 }
+#endif
 
 /* Fast path when opacity is a no-op
  */



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]