diff --git a/Hazel/src/Hazel/Renderer/Font.cpp b/Hazel/src/Hazel/Renderer/Font.cpp index d77a6f1fe..08e5f9537 100644 --- a/Hazel/src/Hazel/Renderer/Font.cpp +++ b/Hazel/src/Hazel/Renderer/Font.cpp @@ -33,7 +33,7 @@ namespace Hazel { TextureSpecification spec; spec.Width = bitmap.width; spec.Height = bitmap.height; - spec.Format = ImageFormat::RGB8; + spec.Format = ImageFormat::RGBA8; spec.GenerateMips = false; Ref texture = Texture2D::Create(spec); @@ -96,7 +96,7 @@ namespace Hazel { atlasPacker.getDimensions(width, height); emSize = atlasPacker.getScale(); - m_AtlasTexture = CreateAndCacheAtlas("Test", (float)emSize, m_Data->Glyphs, m_Data->FontGeometry, width, height); + m_AtlasTexture = CreateAndCacheAtlas("Test", (float)emSize, m_Data->Glyphs, m_Data->FontGeometry, width, height); #if 0