]> git.tdb.fi Git - libs/gl.git/blobdiff - source/framebuffer.h
Add methods to get Framebuffer size
[libs/gl.git] / source / framebuffer.h
index ea462bf6ad432bd78da37afef4fa77103bc676ff..70d32d7f1ab5e704a1e8685ddcba46970548f9e1 100644 (file)
@@ -105,6 +105,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();