Fixed generate call arguments in DynamicAtlas
This commit is contained in:
parent
ae40bf4a3a
commit
b5d54f3012
|
|
@ -33,7 +33,6 @@ private:
|
|||
std::vector<Rectangle> rectangles;
|
||||
std::vector<Remap> remapBuffer;
|
||||
int totalArea;
|
||||
GeneratorAttributes genAttribs;
|
||||
int padding;
|
||||
|
||||
};
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue