fixed glw framebuffer method.

This commit is contained in:
Marco Di Benedetto 2012-06-01 22:36:14 +00:00
parent e95721b5c4
commit f89f762216
1 changed files with 1 additions and 0 deletions

View File

@ -222,6 +222,7 @@ class Framebuffer : public Object
glFramebufferRenderbuffer(target, GL_COLOR_ATTACHMENT0 + it->first, GL_RENDERBUFFER, 0);
}
this->m_config.colorTargets.clear();
return true;
}
bool setDepthTarget(GLenum target, GLint unit, const RenderTarget & renderTarget)