Skip to content

Commit

Permalink
fix arguments order, bleh
Browse files Browse the repository at this point in the history
  • Loading branch information
TurtleP committed May 29, 2024
1 parent 3ee72eb commit 3ca6b1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/modules/graphics/Font.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ namespace love
auto data = graphics->requestBatchedDraw(command);
GlyphVertex* vertexdata = (GlyphVertex*)data.stream;

std::copy_n(vertexdata, cmd.vertexCount, &vertices[cmd.startVertex]);
std::copy_n(&vertices[cmd.startVertex], cmd.vertexCount, vertexdata);
m.transformXY(vertexdata, &vertices[cmd.startVertex], cmd.vertexCount);
}
}
Expand Down

0 comments on commit 3ca6b1a

Please sign in to comment.