one shader for texture and color + Time's API change
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user