summaryrefslogtreecommitdiff
path: root/application
diff options
context:
space:
mode:
Diffstat (limited to 'application')
-rw-r--r--application/main.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/application/main.cpp b/application/main.cpp
index 2fc9f99..61206eb 100644
--- a/application/main.cpp
+++ b/application/main.cpp
@@ -129,7 +129,6 @@ public:
shader.setUniform("ambientColor", {0.5, 0.5, 0.5});
auto t_start = std::chrono::high_resolution_clock::now();
- const auto framelen = std::chrono::milliseconds {1000} / 120;
inputStack.objects.push_back(shared_from_this());
inputStack.objects.insert(
@@ -147,9 +146,6 @@ public:
world.apply<Renderable>(&Renderable::render, shader);
windows.apply(&Window::SwapBuffers);
- if (const auto snz = framelen - t_passed; snz.count() > 0) {
- SDL_Delay(snz.count());
- }
t_start = t_end;
}