From 6c2cb15dca6c24642f5026b06e6168c0d820355f Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Mon, 4 Apr 2011 16:45:47 +0000 Subject: [PATCH] Add methods to get Framebuffer size --- source/framebuffer.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/framebuffer.h b/source/framebuffer.h index ea462bf6..70d32d7f 100644 --- a/source/framebuffer.h +++ b/source/framebuffer.h @@ -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(); -- 2.45.2