summaryrefslogtreecommitdiff
path: root/application
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2021-12-14 02:11:02 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2021-12-14 02:11:02 +0000
commit4f22d5daca7d570dbd3caf3da18448350bf5f148 (patch)
tree5ad8270d71fedae674628d83f9814f62f95c02eb /application
parentRefactor to start splitting out UI components (diff)
downloadilt-4f22d5daca7d570dbd3caf3da18448350bf5f148.tar.bz2
ilt-4f22d5daca7d570dbd3caf3da18448350bf5f148.tar.xz
ilt-4f22d5daca7d570dbd3caf3da18448350bf5f148.zip
Single glContext shared between windows
Created by the first window, includes simplified refresh/render for single control point
Diffstat (limited to 'application')
-rw-r--r--application/main.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/application/main.cpp b/application/main.cpp
index 9992ec0..68bc191 100644
--- a/application/main.cpp
+++ b/application/main.cpp
@@ -101,9 +101,7 @@ public:
world.apply(&WorldObject::tick, t_passed);
windows.apply(&Window::tick, t_passed);
- windows.apply(&Window::Clear, 0.0F, 0.0F, 0.0F, 1.0F);
- windows.apply(&Window::Refresh, this);
- windows.apply(&Window::SwapBuffers);
+ windows.apply(&Window::refresh, this);
t_start = t_end;
}