diff options
author | Marius Kintel <marius@kintel.net> | 2011-12-25 16:29:36 (GMT) |
---|---|---|
committer | Marius Kintel <marius@kintel.net> | 2011-12-25 16:29:36 (GMT) |
commit | 3e64e63b0113a99666ad68aa3e82bb7b80324d9b (patch) | |
tree | 23eb5741006b164a078ec5c09c59ddc96ec69cdb /src/glview.cc | |
parent | 5db9bfc2ffa2e8df9388433e4da7bdfce434d2c5 (diff) |
bugfix: Fixes flickering animation, reported by Don Bright
Diffstat (limited to 'src/glview.cc')
-rw-r--r-- | src/glview.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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() |