diff options
author | Marius Kintel <marius@kintel.net> | 2011-12-25 16:44:06 (GMT) |
---|---|---|
committer | Marius Kintel <marius@kintel.net> | 2011-12-25 16:44:06 (GMT) |
commit | 1679a57240d1fd5c852b095859a37ad5b4bb99a8 (patch) | |
tree | 5265e55569e007a13631cb09558e695a4470c2bb /src | |
parent | c5511b05ecfc821d2c46912a9dd472df4dec956a (diff) | |
parent | 3e64e63b0113a99666ad68aa3e82bb7b80324d9b (diff) |
Merge branch 'master' into buildfix
Diffstat (limited to 'src')
-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() |