Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
loveridge authored and ChrisFloofyKitsune committed Apr 5, 2024
1 parent 96ee32b commit 36733e1
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions rts/Rml/Backends/RmlUi_Backend.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -152,12 +152,12 @@ bool RmlGui::Initialize(SDL_Window* target_window, SDL_GLContext target_glcontex

Rml::Initialise();

Rml::LoadFontFace("fonts/FreeSansBold.otf", true);
data->inputCon = input.AddHandler(&RmlGui::ProcessEvent);
data->initialized = true;
Rml::LoadFontFace("fonts/FreeSansBold.otf", true);
data->inputCon = input.AddHandler(&RmlGui::ProcessEvent);
data->initialized = true;

data->element_lua_texture = Rml::MakeUnique<Rml::ElementInstancerGeneric<ElementLuaTexture>>();
Rml::Factory::RegisterElementInstancer("lua-texture", data->element_lua_texture.get());
data->element_lua_texture = Rml::MakeUnique<Rml::ElementInstancerGeneric<ElementLuaTexture>>();
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 36733e1

Please sign in to comment.