X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=source%2Fframebuffer.h;h=3d3ec088138f9d4b50d675ead1d0b73807277212;hb=f14435e58bfa0fa697a06ba9a454bb30cd37d9d8;hp=ea462bf6ad432bd78da37afef4fa77103bc676ff;hpb=7f888de83aa5398fafaa7661547ee80395377b5c;p=libs%2Fgl.git diff --git a/source/framebuffer.h b/source/framebuffer.h index ea462bf6..3d3ec088 100644 --- a/source/framebuffer.h +++ b/source/framebuffer.h @@ -1,10 +1,3 @@ -/* $Id$ - -This file is part of libmspgl -Copyright © 2007, 2009-2011 Mikko Rasa, Mikkosoft Productions -Distributed under the LGPL -*/ - #ifndef MSP_GL_FRAMEBUFFER_H_ #define MSP_GL_FRAMEBUFFER_H_ @@ -105,6 +98,9 @@ public: Framebuffer(); ~Framebuffer(); + unsigned get_width() const { return width; } + unsigned get_height() const { return height; } + private: void update_attachment(unsigned) const; void check_size();