src/3D/InstancedRenderer.cpp
// helper method for making a render buffer (used in Render_target)
helper method for making a render buffer (used in Render_target)
helper method for making a render buffer ( used in Render_target )
gl::RenderBuffer makeRenderBuffer(int samples, GLenum format, int w, int h) {
        gl::RenderBuffer rv;
        gl::BindRenderBuffer(rv);
        glRenderbufferStorageMultisample(GL_RENDERBUFFER, samples, format, w, h);
        return rv;
    }
gl :: RenderBuffer makeRenderBuffer ( int samples , GLenum format , int w , int h ) { gl :: RenderBuffer rv ; gl :: BindRenderBuffer ( rv ) ; glRenderbufferStorageMultisample ( GL_RENDERBUFFER , samples , format , w , h ) ; return rv ; }
helper method for making a render buffer (used in Render_target)
helper method for making a render buffer ( used in Render_target )