X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fpipeline.cpp;h=95f96536f81c1f6891c5be726c2517ca95a08e2a;hp=f05d15b8271fe0ce9f216b62258f50d10758f231;hb=cd446554e998204eaba22504b7b28227feb8edbb;hpb=2f09d68a0844d2838d116d93d3ecc69723b52f16 diff --git a/source/pipeline.cpp b/source/pipeline.cpp index f05d15b8..95f96536 100644 --- a/source/pipeline.cpp +++ b/source/pipeline.cpp @@ -119,7 +119,7 @@ void Pipeline::add_postprocessor(PostProcessor &pp) color_buf = new Texture2D; color_buf->set_min_filter(NEAREST); color_buf->set_mag_filter(NEAREST); - color_buf->storage((hdr ? RGB16F : RGB), width, height, 0); + color_buf->storage((hdr ? RGB16F : RGB), width, height); color_buf->image(0, RGB, UNSIGNED_BYTE, 0); fbo->attach(COLOR_ATTACHMENT0, *color_buf, 0); depth_buf = new Renderbuffer;