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++;