X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=resize_effect.cpp;h=1141fbad571b3285331d39b787ce12f78debcf14;hp=e701d71df7cb53fa890fc7f8aebd4ff18bff507a;hb=50eac370e882d5511f7c5609b58c7bc859b2f7f8;hpb=e9d9fc790abdf093176a0314f4588c6b8146e5a2 diff --git a/resize_effect.cpp b/resize_effect.cpp index e701d71..1141fba 100644 --- a/resize_effect.cpp +++ b/resize_effect.cpp @@ -13,8 +13,8 @@ std::string ResizeEffect::output_fragment_shader() return read_file("identity.frag"); } -void ResizeEffect::get_output_size(unsigned *width, unsigned *height) const +void ResizeEffect::get_output_size(unsigned *width, unsigned *height, unsigned *virtual_width, unsigned *virtual_height) const { - *width = this->width; - *height = this->height; + *virtual_width = *width = this->width; + *virtual_height = *height = this->height; }