X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=white_balance_effect.h;h=342426beee9e514ae1b16debe2a6181c37d09079;hb=1ec439c7fb975c09029adaa9090e7f35ce6484b8;hp=43bfccb1f132bf93d01ae57a7aaad481647c6e3d;hpb=cfc161e0289c2169d4835c48751ff56b97355eb2;p=movit diff --git a/white_balance_effect.h b/white_balance_effect.h index 43bfccb..342426b 100644 --- a/white_balance_effect.h +++ b/white_balance_effect.h @@ -3,7 +3,7 @@ // Color correction in LMS color space. -#include +#include #include #include "effect.h" @@ -15,6 +15,7 @@ public: WhiteBalanceEffect(); virtual std::string effect_type_id() const { return "WhiteBalanceEffect"; } virtual AlphaHandling alpha_handling() const { return DONT_CARE_ALPHA_TYPE; } + virtual bool one_to_one_sampling() const { return true; } std::string output_fragment_shader(); void set_gl_state(GLuint glsl_program_num, const std::string &prefix, unsigned *sampler_num);