Skip to content

Commit

Permalink
clearer and more readable element tag name
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisFloofyKitsune committed Apr 5, 2024
1 parent 51804e0 commit 96ee32b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rts/Rml/Backends/RmlUi_Backend.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ bool RmlGui::Initialize(SDL_Window* target_window, SDL_GLContext target_glcontex
data->initialized = true;

data->element_lua_texture = Rml::MakeUnique<Rml::ElementInstancerGeneric<ElementLuaTexture>>();
Rml::Factory::RegisterElementInstancer("texture", data->element_lua_texture.get());
Rml::Factory::RegisterElementInstancer("lua-texture", data->element_lua_texture.get());

data->plugin = Rml::MakeUnique<PassThroughPlugin>(OnContextCreate, OnContextDestroy);
Rml::RegisterPlugin(data->plugin.get());
Expand Down

0 comments on commit 96ee32b

Please sign in to comment.