X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=dither_effect.h;fp=dither_effect.h;h=e5805862011c94b36c608fe804cb0f2a6a121bca;hp=9818603c2a46f4a659628b68c03be5fed3f868ac;hb=b564238fa1293c01c77bcabe7b2de267f146ab24;hpb=7878253d0d7b5aaa6b701499e588b31f2c5edca2 diff --git a/dither_effect.h b/dither_effect.h index 9818603..e580586 100644 --- a/dither_effect.h +++ b/dither_effect.h @@ -66,6 +66,7 @@ public: // premultiplied error. However, we need to do dithering in the same // space as quantization, whether that be pre- or postmultiply. virtual AlphaHandling alpha_handling() const { return DONT_CARE_ALPHA_TYPE; } + virtual bool one_to_one_sampling() const { return true; } void set_gl_state(GLuint glsl_program_num, const std::string &prefix, unsigned *sampler_num);