X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Frendertarget.h;h=2138d9ce31b202a7a0f896ebf7d0cb6b08d35d6f;hb=b0059bd068c99dadfc922584911fcb25a21b737b;hp=35b2f00d205877b57bad08147a1058f8ae9d6a63;hpb=fce91f4eda14f5f9e9a7490835b7e62c05243572;p=libs%2Fgl.git diff --git a/source/rendertarget.h b/source/rendertarget.h index 35b2f00d..2138d9ce 100644 --- a/source/rendertarget.h +++ b/source/rendertarget.h @@ -72,6 +72,8 @@ private: public: ~RenderTarget(); + unsigned get_width() const { return width; } + unsigned get_height() const { return height; } const RenderTargetFormat &get_format() const { return format; } Framebuffer &get_framebuffer() { return fbo; } void set_texture_filter(TextureFilter);