]> git.sesse.net Git - movit/blob - multiply_effect.cpp
Call init_lanczos_table() once instead of checking for it all the time.
[movit] / multiply_effect.cpp
1 #include "multiply_effect.h"
2 #include "util.h"
3
4 using namespace std;
5
6 namespace movit {
7
8 MultiplyEffect::MultiplyEffect()
9         : factor(1.0f, 1.0f, 1.0f, 1.0f)
10 {
11         register_vec4("factor", (float *)&factor);
12 }
13
14 string MultiplyEffect::output_fragment_shader()
15 {
16         return read_file("multiply_effect.frag");
17 }
18
19 }  // namespace movit