You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-11 13:10:58 +00:00
msdfgen: Update to 1.12.1
This commit is contained in:
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;
|
||||
|
||||
Reference in New Issue
Block a user