From 3e64e63b0113a99666ad68aa3e82bb7b80324d9b Mon Sep 17 00:00:00 2001 From: Marius Kintel Date: Sun, 25 Dec 2011 17:29:36 +0100 Subject: bugfix: Fixes flickering animation, reported by Don Bright diff --git a/src/glview.cc b/src/glview.cc index d9f6bb5..f25cac6 100644 --- a/src/glview.cc +++ b/src/glview.cc @@ -105,7 +105,7 @@ void GLView::init() void GLView::setRenderer(Renderer *r) { this->renderer = r; - updateGL(); + if (r) updateGL(); // Let the last image stay, e.g. to avoid animation flickering } void GLView::initializeGL() -- cgit v0.10.1