mirror of
https://github.com/love2d/love.git
synced 2026-08-21 21:15:09 +02:00
Fix the first TextBatch:set call uploading vertices twice.
This commit is contained in:
@@ -36,7 +36,7 @@ TextBatch::TextBatch(Font *font, const std::vector<love::font::ColoredString> &t
|
|||||||
, vertexData(nullptr)
|
, vertexData(nullptr)
|
||||||
, modifiedVertices()
|
, modifiedVertices()
|
||||||
, vertOffset(0)
|
, vertOffset(0)
|
||||||
, textureCacheID((uint32) -1)
|
, textureCacheID(font->getTextureCacheID())
|
||||||
{
|
{
|
||||||
set(text);
|
set(text);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user