X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fpipeline.cpp;fp=source%2Fpipeline.cpp;h=02ccc22ebe80b6ef8fb756facb1516f9c4f0d1d7;hp=b98ddb8a8d1185c1247522afca359edf80e7d06b;hb=8697b05bf71c49882fe15d53aa4f502aa2b5f9a3;hpb=cbd2f2d0990d1e6c76cde38b17ac8eb1bc90dbf8 diff --git a/source/pipeline.cpp b/source/pipeline.cpp index b98ddb8a..02ccc22e 100644 --- a/source/pipeline.cpp +++ b/source/pipeline.cpp @@ -171,7 +171,7 @@ void Pipeline::render(Renderer &renderer, const Tag &tag) const { Framebuffer &fbo = (samples ? target_ms : target[0])->get_framebuffer(); fbo.bind(); - fbo.clear(COLOR_BUFFER_BIT|DEPTH_BUFFER_BIT); + fbo.clear(); } for(PassList::const_iterator i=passes.begin(); i!=passes.end(); ++i)