mirror of
https://github.com/gnif/LookingGlass.git
synced 2026-08-02 13:22:02 +00:00
[client] overlay: add ImGui support for non-latin characters
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user