]> git.tdb.fi Git - libs/gl.git/blobdiff - source/bloom.cpp
Give both color and depth buffers to postprocessors
[libs/gl.git] / source / bloom.cpp
index 0e5ce9d616d9f6827aec8b80b029e87c15e0aba0..db10c3b26fc45b3c7b0c28ba4c51687ef964a13d 100644 (file)
@@ -126,7 +126,7 @@ void Bloom::set_strength(float s)
        combine_shdata.uniform(combine_shader.get_uniform_location("strength"), s);
 }
 
-void Bloom::render(const Texture2D &src)
+void Bloom::render(const Texture2D &src, const Texture2D &)
 {
        const Framebuffer *dest = Framebuffer::current();
        blur_shader.bind();