X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fcore%2Fframebuffer.h;h=2f867e6c591ec69706df22fc2a90bbeef52575f8;hp=f2fbfea40e19bca9577cd97a540d6bfcfb3b1673;hb=2e09b4f72f06537431151fe8b2574e1aa886ad48;hpb=b6dbbbee0c7e6a3af10391f2d9f4bb9e007afb29 diff --git a/source/core/framebuffer.h b/source/core/framebuffer.h index f2fbfea4..2f867e6c 100644 --- a/source/core/framebuffer.h +++ b/source/core/framebuffer.h @@ -62,6 +62,9 @@ the GL_EXT_framebuffer_blit extension. */ class Framebuffer { + friend class Commands; + friend class PipelineState; + private: struct Attachment { @@ -139,8 +142,6 @@ public: void refresh() const { if(dirty) update(); } - unsigned get_id() const { return id; } - void set_debug_name(const std::string &); static Framebuffer &system();