[client] overlay: add ImGui support for non-latin characters

This commit is contained in:
Geoffrey McRae
2026-07-30 12:39:47 +10:00
parent f3155647d2
commit 4f02eda913
9 changed files with 374 additions and 21 deletions

View File

@@ -1080,6 +1080,7 @@ static bool createFilter(const char * root, const char * relative,
char * extension = strrchr((char *)this->base.ops.name, '.');
if (extension && !strcasecmp(extension, ".glsl"))
*extension = '\0';
app_registerImGuiText(this->base.ops.name);
parseFile(this);
this->enable = enabledInOption(this->base.ops.id);

View File

@@ -159,6 +159,7 @@ static void loadPresetList(struct EGL_PostProcess * this)
goto fail;
}
stringlist_push(this->presets, name);
app_registerImGuiText(name);
if (preset && strcmp(preset, name) == 0)
this->activePreset = stringlist_count(this->presets) - 1;