testbed: setup hud system for later use

This commit is contained in:
skypjack
2025-04-29 14:48:23 +02:00
parent f505050391
commit 1796b18284
4 changed files with 27 additions and 0 deletions

View File

@@ -6,6 +6,7 @@
#include <backends/imgui_impl_sdlrenderer3.h>
#include <entt/entity/registry.hpp>
#include <imgui.h>
#include <system/hud_system.h>
#include <system/imgui_system.h>
#include <system/input_system.h>
#include <system/rendering_system.h>
@@ -26,6 +27,7 @@ void application::draw(entt::registry &registry, const context &context) const {
SDL_RenderClear(context);
rendering_system(registry, context);
hud_system(registry, context);
imgui_system(registry);
ImGui::Render();