one shader for texture and color + Time's API change

This commit is contained in:
Erris
2026-01-23 15:43:26 +01:00
parent 33574d783a
commit c8cfed58da
13 changed files with 94 additions and 29 deletions

View File

@@ -27,6 +27,8 @@ namespace OpenEngine {
imgui_layer = std::make_shared<ImGuiLayer>();
QueueOverlayPush(imgui_layer);
Time::Init();
}
Application::~Application()
@@ -37,7 +39,7 @@ namespace OpenEngine {
void Application::Run()
{
while(running) {
Time::Get().Update();
Time::Update();
layer_stack.UpdateLayers();
for (auto layer : layer_stack)