X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;ds=sidebyside;f=flat_input.h;h=90c038678f2e429fd775c3770510a0bf4605a9b3;hb=07e256b26e5ac82c282478a1bd3289d61cac5461;hp=2e14488ea7d983da1cad04ea6a31fb99d4b06fb3;hpb=fdad0932f08649e69e824ee73a787671a5bc93a5;p=movit diff --git a/flat_input.h b/flat_input.h index 2e14488..90c0386 100644 --- a/flat_input.h +++ b/flat_input.h @@ -27,6 +27,8 @@ public: // Uploads the texture if it has changed since last time. void set_gl_state(GLuint glsl_program_num, const std::string& prefix, unsigned *sampler_num); + unsigned get_width() const { return width; } + unsigned get_height() const { return height; } ColorSpace get_color_space() const { return image_format.color_space; } GammaCurve get_gamma_curve() const { return image_format.gamma_curve; }