]> git.tdb.fi Git - libs/gl.git/blobdiff - source/bloom.cpp
Use CLAMP_TO_EDGE on postprocessing textures
[libs/gl.git] / source / bloom.cpp
index 8fda424d5864959565633ae172a0e0bf463f2331..fdd11703f6ceb565e20c91140df53cecda2fe8ba 100644 (file)
@@ -57,6 +57,7 @@ Bloom::Bloom(unsigned w, unsigned h):
        for(unsigned i=0; i<2; ++i)
        {
                tex[i].set_min_filter(NEAREST);
+               tex[i].set_wrap(CLAMP_TO_EDGE);
                tex[i].storage(RGB16F, w, h);
        }