]> git.sesse.net Git - movit/blob - saturation_effect.cpp
Fix an issue where matrices would not get printed out on test failure.
[movit] / saturation_effect.cpp
1 #include "saturation_effect.h"
2 #include "util.h"
3
4 using namespace std;
5
6 namespace movit {
7
8 SaturationEffect::SaturationEffect()
9         : saturation(1.0f)
10 {
11         register_float("saturation", &saturation);
12 }
13
14 string SaturationEffect::output_fragment_shader()
15 {
16         return read_file("saturation_effect.frag");
17 }
18
19 }  // namespace movit