fixed glw framebuffer method.
This commit is contained in:
parent
e95721b5c4
commit
f89f762216
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue