X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fpipeline.h;h=e4509af8364c77b84c512f141d8d3f30b66f0a78;hb=25c81b4953dd38993250321b9407ce8b0139cbeb;hp=3f0ea2fa235390a81232c5b95bd26a014a93128d;hpb=4d3bee9264c4e60fb811019fc1699e17a338d13d;p=libs%2Fgl.git diff --git a/source/pipeline.h b/source/pipeline.h index 3f0ea2fa..e4509af8 100644 --- a/source/pipeline.h +++ b/source/pipeline.h @@ -1,7 +1,7 @@ /* $Id$ This file is part of libmspgl -Copyright © 2009 Mikko Rasa, Mikkosoft Productions +Copyright © 2009-2011 Mikko Rasa, Mikkosoft Productions Distributed under the LGPL */ @@ -47,7 +47,7 @@ private: bool hdr; Framebuffer *fbo; Texture2D *color_buf; - Renderbuffer *depth_buf; + Texture2D *depth_buf; public: Pipeline(unsigned, unsigned, bool); @@ -65,7 +65,7 @@ public: void add_effect(Effect &); void add_postprocessor(PostProcessor &); - virtual void render(const Tag &tag = Tag()) const; + virtual void render(Renderer &, const Tag &tag = Tag()) const; void render_all() const; };