From: Mikko Rasa Date: Thu, 9 Aug 2012 19:34:23 +0000 (+0300) Subject: Move some member functions to more logical positions X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=06b79262c9d455669e93213200d959db5b221dc2;p=libs%2Fgl.git Move some member functions to more logical positions --- diff --git a/source/framebuffer.cpp b/source/framebuffer.cpp index 8806ea6c..c4f714c6 100644 --- a/source/framebuffer.cpp +++ b/source/framebuffer.cpp @@ -106,6 +106,15 @@ void Framebuffer::check_size() } } +unsigned Framebuffer::get_attachment_index(FramebufferAttachment attch) +{ + for(unsigned i=0; i