From ae2c6b26c2453cfb84153c39861a1bcd02479a85 Mon Sep 17 00:00:00 2001 From: chai Date: Thu, 4 Nov 2021 14:48:07 +0800 Subject: -textureUnitBucket --- Runtime/GUI/Font.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Runtime/GUI/Font.cpp') 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); -- cgit v1.1-26-g67d0