summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2011-12-25 16:29:36 (GMT)
committerMarius Kintel <marius@kintel.net>2011-12-25 16:29:36 (GMT)
commit3e64e63b0113a99666ad68aa3e82bb7b80324d9b (patch)
tree23eb5741006b164a078ec5c09c59ddc96ec69cdb /src
parent5db9bfc2ffa2e8df9388433e4da7bdfce434d2c5 (diff)
bugfix: Fixes flickering animation, reported by Don Bright
Diffstat (limited to 'src')
-rw-r--r--src/glview.cc2
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()
contact: Jan Huwald // Impressum