X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fbloom.cpp;h=0e5ce9d616d9f6827aec8b80b029e87c15e0aba0;hb=656b4577fccfb02bea747871e5ab10148f002443;hp=040fd6c7b1fa5ea5f995aafc4e45784665a87269;hpb=12ac9bec8e03029c1042fd7732a2cfc04c9a9584;p=libs%2Fgl.git diff --git a/source/bloom.cpp b/source/bloom.cpp index 040fd6c7..0e5ce9d6 100644 --- a/source/bloom.cpp +++ b/source/bloom.cpp @@ -76,8 +76,7 @@ Bloom::Bloom(unsigned w, unsigned h): { blur_shdata[i].uniform(loc, 0); tex[i].set_min_filter(NEAREST); - tex[i].storage(RGB16F, w, h, 0); - tex[i].image(0, RGB, UNSIGNED_BYTE, 0); + tex[i].storage(RGB16F, w, h); } combine_shdata.uniform(combine_shader.get_uniform_location("source"), 1);