[gtk/master-msvc-fixes: 2/2] fp16.c: Fix call to float_to_half4_c()




commit 4a0046b6015ec6adde2d6c4fde4581f1bcb4c580
Author: Chun-wei Fan <fanchunwei src gnome org>
Date:   Wed Sep 29 10:42:55 2021 +0800

    fp16.c: Fix call to float_to_half4_c()
    
    There is no third parameter to this function, so drop it.

 gsk/ngl/fp16.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gsk/ngl/fp16.c b/gsk/ngl/fp16.c
index 2f71820ce4..5c8ff329a0 100644
--- a/gsk/ngl/fp16.c
+++ b/gsk/ngl/fp16.c
@@ -146,7 +146,7 @@ float_to_half (const float *f, guint16 *h, int n)
   if (have_f16c_msvc ())
     float_to_half_f16c (f, h, n);
   else
-    float_to_half4_c (f, h, n);
+    float_to_half4_c (f, h);
 }
 
 void


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