summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--DisplayClass.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/DisplayClass.cpp b/DisplayClass.cpp
index 70c59cb..4051e20 100644
--- a/DisplayClass.cpp
+++ b/DisplayClass.cpp
@@ -23,6 +23,8 @@ void DisplayClass::renderScene(unsigned long delta, std::bitset<256>& keys) {
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
+ keyhandler(keys);
+
glLoadIdentity(); // Clean up matrix
glTranslatef(0.0, -2.0, -20.0); // Then set up transformation
// glRotatef(10, 1.0, 0.0, 0.0);