GPUFramebuffer: Tag dirty after recursing downsample
Also do not bind automatically. This is fine since the framebuffer will update next time it's bound.
This commit is contained in:
parent
8527d84d35
commit
d98c722a5a
|
@ -200,8 +200,7 @@ void FrameBuffer::recursive_downsample(int max_lvl,
|
|||
attachments_[att].mip = 0;
|
||||
}
|
||||
}
|
||||
/* Reattach base level textures. */
|
||||
this->bind(true);
|
||||
dirty_attachments_ = true;
|
||||
}
|
||||
|
||||
/** \} */
|
||||
|
|
Loading…
Reference in New Issue