X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=slice_effect.h;h=ccca527922d314d40e895b15e5d79b04d909164f;hb=c2ca57b71bf77244acc85aaccb2d6c360517c5a3;hp=0ce5d08b0b7b7917c2b30d5d623a7fab4eb70b5e;hpb=3ccf5fb197c9a72545affc0b7286349d5603b72e;p=movit diff --git a/slice_effect.h b/slice_effect.h index 0ce5d08..ccca527 100644 --- a/slice_effect.h +++ b/slice_effect.h @@ -10,7 +10,7 @@ // Note that vertical slices happen from the top, consistent with the rest of // Movit. -#include +#include #include #include "effect.h" @@ -24,6 +24,7 @@ public: std::string output_fragment_shader(); virtual bool needs_texture_bounce() const { return true; } virtual bool changes_output_size() const { return true; } + virtual bool sets_virtual_output_size() const { return false; } virtual void inform_input_size(unsigned input_num, unsigned width, unsigned height); virtual void get_output_size(unsigned *width, unsigned *height, unsigned *virtual_width, unsigned *virtual_height) const;