From 678a55a2c969a8b6f3c1a49cb4a6a46cda18ddf2 Mon Sep 17 00:00:00 2001 From: hyzboy Date: Thu, 12 May 2022 16:02:36 +0800 Subject: [PATCH] changed include --- src/SceneGraph/font/FontSourceWin.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/SceneGraph/font/FontSourceWin.cpp b/src/SceneGraph/font/FontSourceWin.cpp index 1792f44b..e438b9d7 100644 --- a/src/SceneGraph/font/FontSourceWin.cpp +++ b/src/SceneGraph/font/FontSourceWin.cpp @@ -1,5 +1,5 @@ #include"FontSourceWin.h" -#include +#include namespace hgl { @@ -21,7 +21,7 @@ namespace hgl while(pos--) { - *tp=uint8(Clamp(Linear2sRGB(double(*p)/64.0f))*255.0f); + *tp=Clamp(Linear2sRGB(double(*p)/64.0f)*255.0f); tp++; p++;