fix declaration of sdfCoverageToDistance (#2193)
This commit is contained in:
parent
7efb218fd1
commit
526db2f233
2
3rdparty/sdf/sdf.h
vendored
2
3rdparty/sdf/sdf.h
vendored
@ -113,7 +113,7 @@ static float sdf__clamp01(float x)
|
||||
return x < 0.0f ? 0.0f : (x > 1.0f ? 1.0f : x);
|
||||
}
|
||||
|
||||
void sdfCoverageToDistance(unsigned char* out, int outstride,
|
||||
void sdfCoverageToDistance(unsigned char* out, int outstride, float maxdist,
|
||||
const unsigned char* img, int width, int height, int stride)
|
||||
{
|
||||
int x, y;
|
||||
|
Loading…
x
Reference in New Issue
Block a user