X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Frenderpass.h;h=e2ea4c97175eb6a62e14bfa6ec636a4c63b12b1d;hb=12ac9bec8e03029c1042fd7732a2cfc04c9a9584;hp=94c6bc02b085885a4e7dea3bdad21447b33922f7;hpb=745b3030d7fa32c1f6be29548f978af640eb4021;p=libs%2Fgl.git diff --git a/source/renderpass.h b/source/renderpass.h index 94c6bc02..e2ea4c97 100644 --- a/source/renderpass.h +++ b/source/renderpass.h @@ -9,6 +9,7 @@ Distributed under the LGPL #define MSP_GL_RENDERPASS_H_ #include +#include "bindable.h" namespace Msp { namespace GL { @@ -22,7 +23,7 @@ class Texture; Encapsulates the data that determines the appearance of a rendered surface. This includes shader and data for it, material and textures. */ -class RenderPass +class RenderPass: public Bindable { public: class Loader: public DataFile::CollectionObjectLoader @@ -61,8 +62,6 @@ private: const Material *material; std::vector textures; - static const RenderPass *current; - RenderPass &operator=(const RenderPass &); public: RenderPass();