X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fpipeline.cpp;h=62aeaab938b60830d30dad685443a1e6490b95bb;hb=656b4577fccfb02bea747871e5ab10148f002443;hp=95f96536f81c1f6891c5be726c2517ca95a08e2a;hpb=cd446554e998204eaba22504b7b28227feb8edbb;p=libs%2Fgl.git diff --git a/source/pipeline.cpp b/source/pipeline.cpp index 95f96536..62aeaab9 100644 --- a/source/pipeline.cpp +++ b/source/pipeline.cpp @@ -120,7 +120,6 @@ void Pipeline::add_postprocessor(PostProcessor &pp) color_buf->set_min_filter(NEAREST); color_buf->set_mag_filter(NEAREST); 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; depth_buf->storage(DEPTH_COMPONENT, width, height);