summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorJonathan Bradley <jcb@pikum.xyz>2025-06-10 11:23:44 -0400
committerJonathan Bradley <jcb@pikum.xyz>2025-06-10 11:23:44 -0400
commit2506c1af519ed14836986ecf2674636fa8b37947 (patch)
treeed9270b9160582ef8fd1a7f0cb01e30921655e6f /editor
parent11454fb99a9dc1c959e58828f447d1fb2e9f3d9d (diff)
pke: vulkan dynamic rendering + update imgui
Diffstat (limited to 'editor')
-rw-r--r--editor/editor.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/editor.cpp b/editor/editor.cpp
index 13debfe..959d772 100644
--- a/editor/editor.cpp
+++ b/editor/editor.cpp
@@ -1021,8 +1021,8 @@ bool RecordImGui_GenerateMTSDFGlyphModal() {
ImGui::Separator();
if (ImGui::Button("Generate")) {
- di = std::filesystem::directory_iterator {"assets/glyphs"};
- for (const std::filesystem::directory_entry &sde : di) {
+ std::filesystem::directory_iterator d2{"assets/glyphs"};
+ for (const std::filesystem::directory_entry &sde : d2) {
if (sde.is_regular_file() && std::regex_search(sde.path().c_str(), reg_svg_file)) {
GenerateMTSDFGlyph(&msdf_glyph_settings, sde.path().stem().c_str());
}