]> git.tdb.fi Git - libs/gl.git/blobdiff - source/bloom.cpp
Allocate textures attached to framebuffers automatically
[libs/gl.git] / source / bloom.cpp
index 7c4338f8e1fe975706b677ec810e42b9dd91bd36..0e5ce9d616d9f6827aec8b80b029e87c15e0aba0 100644 (file)
@@ -77,7 +77,6 @@ Bloom::Bloom(unsigned w, unsigned h):
                blur_shdata[i].uniform(loc, 0);
                tex[i].set_min_filter(NEAREST);
                tex[i].storage(RGB16F, w, h);
-               tex[i].image(0, RGB, UNSIGNED_BYTE, 0);
        }
 
        combine_shdata.uniform(combine_shader.get_uniform_location("source"), 1);