[gtk/master-msvc-fixes: 1/2] fp16.c: Fix float_to_half() function call




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

    fp16.c: Fix float_to_half() function call
    
    Correct the function being called.

 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..29e83527f3 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_half_c (f, h, n);
 }
 
 void


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