From e892a047e9100c909f9b47e704e16d5edce7db19 Mon Sep 17 00:00:00 2001 From: Alexandre Tolstenko Date: Tue, 11 Jun 2024 13:34:15 -0400 Subject: [PATCH] fix(ci): fix api changes for ci --- core/engine/Engine.cpp | 2 +- core/scene/Object.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/engine/Engine.cpp b/core/engine/Engine.cpp index dd2b6104..3cdec0a5 100644 --- a/core/engine/Engine.cpp +++ b/core/engine/Engine.cpp @@ -115,7 +115,7 @@ void Engine::Tick() { toDestroy.clear(); } - ImGui_ImplSDLRenderer2_RenderDrawData(ImGui::GetDrawData()); + ImGui_ImplSDLRenderer2_RenderDrawData(ImGui::GetDrawData(),window->sdlRenderer); SDL_RenderPresent(window->sdlRenderer); } diff --git a/core/scene/Object.h b/core/scene/Object.h index d61441df..a20fea06 100644 --- a/core/scene/Object.h +++ b/core/scene/Object.h @@ -35,7 +35,7 @@ class Object { static void DontDestroyOnLoad(const Object& object){}; public: - std::string ToString(){}; + std::string ToString(){return _name;}; }; #endif // MOBAGEN_ENGINE_OBJECT_H_