Skip to content

Commit

Permalink
Adjust glfwPolEvents() Calling time
Browse files Browse the repository at this point in the history
  • Loading branch information
kissholic committed Dec 22, 2024
1 parent adffaf8 commit b52f76a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Source/Engine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ bool BlockEngine::PostInit() noexcept {
}

void BlockEngine::Step(float DeltaTime) noexcept {
InputSystem::Get().Process();

mGraphicsContext->Step(DeltaTime);
}

Expand Down
1 change: 0 additions & 1 deletion Source/Graphics/GraphicsContext.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ void GraphicsContext::Step(double DeltaTime) noexcept {
ImGuiStepPost();

glfwSwapBuffers(mWindow);
glfwPollEvents();
}


Expand Down

0 comments on commit b52f76a

Please sign in to comment.