]> git.tdb.fi Git - libs/gl.git/blobdiff - source/bloom.cpp
Ensure that DepthTest and Blend get unbound for PostProcessors
[libs/gl.git] / source / bloom.cpp
index 58edc65dfd2bed54a99cc65b0a36f879b522dee3..2160e147cb1b8877f1a657f7f15651362ebf26fa 100644 (file)
@@ -67,8 +67,6 @@ void Bloom::set_strength(float s)
 
 void Bloom::render(const Texture2D &src, const Texture2D &)
 {
-       BindRestore unbind_dtest(static_cast<DepthTest *>(0));
-       BindRestore unbind_blend(static_cast<Blend *>(0));
        Bind bind_mesh(quad);
 
        {