From fab20efb604948d2b61de319f60bffe9f0b8592c Mon Sep 17 00:00:00 2001 From: Jon Bergli Heier Date: Sat, 29 Jan 2011 01:34:50 +0100 Subject: Added swap() to Application. --- application.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'application.cpp') diff --git a/application.cpp b/application.cpp index a21b4e2..47049c9 100644 --- a/application.cpp +++ b/application.cpp @@ -37,10 +37,14 @@ void Application::run() { update(); - window->Display(); + swap(); } } +void Application::swap() { + window->Display(); +} + void Application::quit() { please_quit = true; } -- cgit v1.2.3