Add comment to remind myself of my poor life decisions

Signed-off-by: Slendi <slendi@socopon.com>
This commit is contained in:
2025-10-10 03:59:08 +03:00
parent cabf8b23df
commit bd82b7a25c

View File

@@ -266,6 +266,8 @@ auto TextRenderer::generate_glyph(FontRuntime &rt, FontData &fd,
}
}
}
// This really isn't the most accurate thing in the world but should work
// for now. Things like commas might be fucked.
for (int y = 0; y < bmp_h; ++y) {
int const dst_y = bmp_h - 1 - y;
for (int x = 0; x < bmp_w; ++x) {