Skip to content

util: reduce error of wl_fixed_from_double()

when cast double to fixed pointer, there will be big error, eg 1919.9998 to 1919. Call round before cast to get nearest value 1920 of 1919.9998

Signed-off-by: Haihua Hu jared.hu@nxp.com

Merge request reports

Loading