X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=source%2Fframebuffer.h;fp=source%2Fframebuffer.h;h=8a97222c5ffac91a9c852119467130c7c8f5caad;hb=06b79262c9d455669e93213200d959db5b221dc2;hp=cf64b45c37ef28cb88394d6ecca86c3c0f1fd8e4;hpb=e003d7a1497dad3b13e4e88e681f8fa2afc40c83;p=libs%2Fgl.git diff --git a/source/framebuffer.h b/source/framebuffer.h index cf64b45c..8a97222c 100644 --- a/source/framebuffer.h +++ b/source/framebuffer.h @@ -107,6 +107,7 @@ public: private: void update_attachment(unsigned) const; void check_size(); + unsigned get_attachment_index(FramebufferAttachment); public: void attach(FramebufferAttachment attch, Renderbuffer &rbuf); void attach(FramebufferAttachment attch, Texture2D &tex, unsigned level = 0); @@ -141,8 +142,6 @@ public: static void unbind(); static Framebuffer &system(); -private: - unsigned get_attachment_index(FramebufferAttachment); }; inline BufferBits operator|(BufferBits a, BufferBits b)