Message ID | 20131017150037.16826.28595.launchpad@ackee.canonical.com |
---|---|
State | Accepted |
Headers | show |
=== modified file 'src/canvas-generic.cpp' --- src/canvas-generic.cpp 2013-06-11 22:40:02 +0000 +++ src/canvas-generic.cpp 2013-10-17 14:59:00 +0000 @@ -413,11 +413,11 @@ glDeleteFramebuffers(1, &fbo_); fbo_ = 0; } - if (!color_renderbuffer_) { + if (color_renderbuffer_) { glDeleteRenderbuffers(1, &color_renderbuffer_); color_renderbuffer_ = 0; } - if (!depth_renderbuffer_) { + if (depth_renderbuffer_) { glDeleteRenderbuffers(1, &depth_renderbuffer_); depth_renderbuffer_ = 0; }