X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=vignette_effect.h;h=582e67687ef42bf67699980337ad71d430f5259a;hp=fdf1a116502b8be220b74cacca1432539daec206;hb=fe58d6d7a4f9284aa47270c2b21a59887124ae14;hpb=c5b9c3df43caa7a88f2f729a5c52359ca8ca537f diff --git a/vignette_effect.h b/vignette_effect.h index fdf1a11..582e676 100644 --- a/vignette_effect.h +++ b/vignette_effect.h @@ -19,6 +19,7 @@ public: virtual bool needs_srgb_primaries() const { return false; } virtual AlphaHandling alpha_handling() const { return DONT_CARE_ALPHA_TYPE; } + virtual bool one_to_one_sampling() const { return true; } virtual void inform_input_size(unsigned input_num, unsigned width, unsigned height); void set_gl_state(GLuint glsl_program_num, const std::string &prefix, unsigned *sampler_num);