diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2024-04-15 08:03:26 +1000 |
---|---|---|
committer | Kae <80987908+Novaenia@users.noreply.github.com> | 2024-04-15 08:03:26 +1000 |
commit | 227e60ca4c927ed9f6b7db5e5c53c45addd1428b (patch) | |
tree | 5a8a080c4d60084bfb864252407cd4fc145926a3 /source/rendering | |
parent | ed8b22c472b9159550ade374328092d15b575ade (diff) |
new object lighting toggle, log non-master entity render/update exceptions
Diffstat (limited to 'source/rendering')
-rw-r--r-- | source/rendering/StarFontTextureGroup.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/rendering/StarFontTextureGroup.cpp b/source/rendering/StarFontTextureGroup.cpp index d5ad88d..e8f701a 100644 --- a/source/rendering/StarFontTextureGroup.cpp +++ b/source/rendering/StarFontTextureGroup.cpp @@ -56,7 +56,7 @@ const FontTextureGroup::GlyphTexture& FontTextureGroup::glyphTexture(String::Cha res.first->second.offset = (preSize - Vec2F(image.size())) / 2; } - catch (StarException&) { + catch (StarException const&) { image.forEachPixel([](unsigned x, unsigned y, Vec4B& pixel) { pixel = ((x + y) % 2 == 0) ? Vec4B(255, 0, 255, pixel[3]) : Vec4B(0, 0, 0, pixel[3]); }); |