diff --git a/openVulkanoCpp/Scene/FontAtlasGenerator.cpp b/openVulkanoCpp/Scene/FontAtlasGenerator.cpp index 42d355a..0d3abef 100644 --- a/openVulkanoCpp/Scene/FontAtlasGenerator.cpp +++ b/openVulkanoCpp/Scene/FontAtlasGenerator.cpp @@ -222,7 +222,6 @@ namespace OpenVulkano::Scene generator.setThreadCount(4); generator.generate(glyphsGeometry.data(), glyphsGeometry.size()); - //const auto& storage = generator.atlasStorage(); int idx = 0; if constexpr (Channels == 3) { @@ -309,7 +308,6 @@ namespace OpenVulkano::Scene template void FontAtlasGenerator::SavePng(const std::string& output) const { - // rework here. do not pass storage . use m_atlasStorage stbi_flip_vertically_on_write(1); if (std::filesystem::path(output).extension() == ".png") { diff --git a/openVulkanoCpp/Scene/FontAtlasGenerator.hpp b/openVulkanoCpp/Scene/FontAtlasGenerator.hpp index deebd5b..c86b6ae 100644 --- a/openVulkanoCpp/Scene/FontAtlasGenerator.hpp +++ b/openVulkanoCpp/Scene/FontAtlasGenerator.hpp @@ -60,7 +60,6 @@ namespace OpenVulkano::Scene const Texture& GetAtlas() const override { return m_atlasTex; } std::map& GetGlyphsInfo() override { return m_symbols; } AtlasMetadata& GetAtlasMetadata() override { return m_meta; } - //Generator& GetFontAtlasGenerator() { return m_generator; } Config& GetGeneratorConfig() { return m_config; } private: void InitFreetypeFromFile(msdfgen::FreetypeHandle*& ft, msdfgen::FontHandle*& font, const std::string& file); @@ -71,7 +70,6 @@ namespace OpenVulkano::Scene void SavePng(const std::string& output) const; private: - //Generator m_generator; Texture m_atlasTex; AtlasMetadata m_meta; Config m_config;