Fix a typo.
[movit] / resize_effect.cpp
1 #include "resize_effect.h"
2 #include "util.h"
3
4 ResizeEffect::ResizeEffect()
5         : width(1280), height(720)
6 {
7         register_int("width", &width);
8         register_int("height", &height);
9 }
10
11 std::string ResizeEffect::output_fragment_shader()
12 {
13         return read_file("identity.frag");
14 }
15
16 void ResizeEffect::get_output_size(unsigned *width, unsigned *height) const
17 {
18         *width = this->width;
19         *height = this->height;
20 }