Skip to content

Commit

Permalink
Fixed generate call arguments in DynamicAtlas
Browse files Browse the repository at this point in the history
  • Loading branch information
Chlumsky committed Sep 19, 2021
1 parent ae40bf4 commit b5d54f3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion msdf-atlas-gen/DynamicAtlas.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ class DynamicAtlas {
std::vector<Rectangle> rectangles;
std::vector<Remap> remapBuffer;
int totalArea;
GeneratorAttributes genAttribs;
int padding;

};
Expand Down
2 changes: 1 addition & 1 deletion msdf-atlas-gen/DynamicAtlas.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ void DynamicAtlas<AtlasGenerator>::add(GlyphGeometry *glyphs, int count) {
glyphs[remapBuffer[i].index-glyphCount].placeBox(rectangles[i].x, rectangles[i].y);
}
}
generator.generate(glyphs, count, genAttribs);
generator.generate(glyphs, count);
glyphCount += count;
}

Expand Down

0 comments on commit b5d54f3

Please sign in to comment.