Skip to content

Commit

Permalink
fix thread-safe renderer
Browse files Browse the repository at this point in the history
  • Loading branch information
pkdawson committed Jul 6, 2024
1 parent 6b71eb1 commit aca0c32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gdext/src/RdRendererThreadSafe.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ struct RdRendererThreadSafe::Impl
RdRendererThreadSafe::RdRendererThreadSafe() : impl(std::make_unique<Impl>())
{
RenderingServer* RS = RenderingServer::get_singleton();
RS->connect("frame_pre_draw", Callable(Engine::get_singleton()->get_singleton("ImGuiLayer"), "on_frame_pre_draw"));
RS->connect("frame_pre_draw", Callable(Engine::get_singleton()->get_singleton("ImGuiController"), "on_frame_pre_draw"));
}

RdRendererThreadSafe::~RdRendererThreadSafe()
Expand Down

0 comments on commit aca0c32

Please sign in to comment.