]> git.tdb.fi Git - libs/gl.git/blobdiff - source/framebuffer.h
Move some member functions to more logical positions
[libs/gl.git] / source / framebuffer.h
index cf64b45c37ef28cb88394d6ecca86c3c0f1fd8e4..8a97222c5ffac91a9c852119467130c7c8f5caad 100644 (file)
@@ -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)