X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fbloom.cpp;h=fdd11703f6ceb565e20c91140df53cecda2fe8ba;hb=a64e2e362cd7bce6f103f8878d69fcca4261bac9;hp=8fda424d5864959565633ae172a0e0bf463f2331;hpb=b250a711295f5ba00114f11a5b1c855eebe08d26;p=libs%2Fgl.git diff --git a/source/bloom.cpp b/source/bloom.cpp index 8fda424d..fdd11703 100644 --- a/source/bloom.cpp +++ b/source/bloom.cpp @@ -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); }