X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fpipeline.cpp;h=e468825748a640ed53cab215c6fc0ebee8c14fb3;hp=dc1eba1d117cdcca5d6b190c53b3545ed31fd86c;hb=14e5bc2c02ef8cc468d5727065ad732bb422a89c;hpb=3b159edbe4e80a2bc19c4c2fcd42cb996b9fbfe0 diff --git a/source/pipeline.cpp b/source/pipeline.cpp index dc1eba1d..e4688257 100644 --- a/source/pipeline.cpp +++ b/source/pipeline.cpp @@ -214,8 +214,8 @@ void Pipeline::render(Renderer &renderer, const Tag &tag) const if(target[0]) { - BindRestore unbind_depth_test(static_cast(0)); - BindRestore unbind_blend(static_cast(0)); + DepthTest::unbind(); + Blend::unbind(); if(samples) target[0]->fbo.blit_from(target_ms->fbo, COLOR_BUFFER_BIT|DEPTH_BUFFER_BIT, false);