diff --git a/src/nanosvgrast.h b/src/nanosvgrast.h index 981ec2e..553e5bf 100644 --- a/src/nanosvgrast.h +++ b/src/nanosvgrast.h @@ -859,7 +859,7 @@ static unsigned int nsvg__applyOpacity(unsigned int c, float u) return nsvg__RGBA(r,g,b,a); } -inline int nsvg__div255(int x) +static inline int nsvg__div255(int x) { return ((x+1) * 257) >> 16; }