]> git.sesse.net Git - movit/blobdiff - flat_input.h
Simplify the refocus shader a bit.
[movit] / flat_input.h
index 2e14488ea7d983da1cad04ea6a31fb99d4b06fb3..90c038678f2e429fd775c3770510a0bf4605a9b3 100644 (file)
@@ -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; }