diff options
author | chai <chaifix@163.com> | 2021-11-04 14:48:07 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2021-11-04 14:48:07 +0800 |
commit | ae2c6b26c2453cfb84153c39861a1bcd02479a85 (patch) | |
tree | 259457dcd09db3c256ff613c4483e67495d29fec /Runtime/GUI/Font.cpp | |
parent | d7c051cecf0db9056e94d5e80146aa0b066e606b (diff) |
-textureUnitBucket
Diffstat (limited to 'Runtime/GUI/Font.cpp')
-rw-r--r-- | Runtime/GUI/Font.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Runtime/GUI/Font.cpp b/Runtime/GUI/Font.cpp index a2d3078..207e658 100644 --- a/Runtime/GUI/Font.cpp +++ b/Runtime/GUI/Font.cpp @@ -186,7 +186,7 @@ bool Font::RenderCharacter(character::Unicode codepoint, int pixelSize) memcpy(&s_PixelBuffer[0], pixels, s_SizePerPixel * w * h); } - TextHelper::print_glyph(&s_PixelBuffer[0], w, h); + //TextHelper::print_glyph(&s_PixelBuffer[0], w, h); GlyphAtals* atlas = RequestAtlas(pixelSize, Vector2(w, h)); Assert(atlas); |