middle mouse scroll update
This commit is contained in:
@@ -124,8 +124,6 @@ void MainComponent::Run()
|
||||
wiProfiler::BeginFrame();
|
||||
wiProfiler::BeginRange("CPU Frame", wiProfiler::DOMAIN_CPU);
|
||||
|
||||
wiInputManager::Update();
|
||||
|
||||
deltaTime = float(max(0, timer.elapsed() / 1000.0));
|
||||
timer.record();
|
||||
|
||||
@@ -175,6 +173,8 @@ void MainComponent::Run()
|
||||
wiLua::GetGlobal()->SetDeltaTime(0);
|
||||
}
|
||||
|
||||
wiInputManager::Update();
|
||||
|
||||
wiProfiler::BeginRange("Render", wiProfiler::DOMAIN_CPU);
|
||||
Render();
|
||||
wiProfiler::EndRange(); // Render
|
||||
|
||||
Reference in New Issue
Block a user