Make div255 to compile on gcc
This commit is contained in:
parent
1dd78511c4
commit
cd0841b54a
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user