From 4f22d5daca7d570dbd3caf3da18448350bf5f148 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Tue, 14 Dec 2021 02:11:02 +0000 Subject: Single glContext shared between windows Created by the first window, includes simplified refresh/render for single control point --- application/main.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'application') 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; } -- cgit v1.2.3