]> git.sesse.net Git - movit/blob - saturation_effect.cpp
Add a unit test for LiftGammaGainEffect.
[movit] / saturation_effect.cpp
1 #define GL_GLEXT_PROTOTYPES 1
2
3 #include "saturation_effect.h"
4 #include "util.h"
5
6 SaturationEffect::SaturationEffect()
7         : saturation(1.0f)
8 {
9         register_float("saturation", &saturation);
10 }
11
12 std::string SaturationEffect::output_fragment_shader()
13 {
14         return read_file("saturation_effect.frag");
15 }