mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
msdfgen: Update to 1.12.1
This commit is contained in:
parent
d59994688c
commit
ecd1d87875
11 changed files with 32 additions and 7 deletions
2
thirdparty/msdfgen/core/rasterization.cpp
vendored
2
thirdparty/msdfgen/core/rasterization.cpp
vendored
|
|
@ -33,7 +33,7 @@ void distanceSignCorrection(const BitmapRef<float, 1> &sdf, const Shape &shape,
|
|||
template <int N>
|
||||
static void multiDistanceSignCorrection(const BitmapRef<float, N> &sdf, const Shape &shape, const Projection &projection, FillRule fillRule) {
|
||||
int w = sdf.width, h = sdf.height;
|
||||
if (!(w*h))
|
||||
if (!(w && h))
|
||||
return;
|
||||
Scanline scanline;
|
||||
bool ambiguous = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue