X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fbloom.cpp;h=fdd11703f6ceb565e20c91140df53cecda2fe8ba;hp=8fda424d5864959565633ae172a0e0bf463f2331;hb=8daa4f20451419ebd065729a17960eeabde1751f;hpb=d435f7230c5b2e3a5b9ccc7f38d16f6f3ece812a 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); }