void WindowView::window_resized(unsigned w, unsigned h)
{
- Framebuffer::system().resize(*this);
+ resize_framebuffer(w, h);
float aspect = static_cast<float>(w)/h;
if(camera)
camera->set_aspect_ratio(aspect);
}
-const Framebuffer &WindowView::get_target() const
-{
- return Framebuffer::system();
-}
-
} // namespace GL
} // namespace Msp