X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=dither_effect.h;h=e5805862011c94b36c608fe804cb0f2a6a121bca;hp=9818603c2a46f4a659628b68c03be5fed3f868ac;hb=fbb1247a1996c6dbe54114eb5cc23dc79e17099c;hpb=5ee3e6bb0bf100d57a06911b89c3a0a0dc49e2be 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);