Make check_error() output the file as well as the line, now that we have several.
[movit] / gamma_expansion_effect.cpp
1 #include "gamma_expansion_effect.h"
2 #include "util.h"
3
4 GammaExpansionEffect::GammaExpansionEffect()
5         : source_curve(GAMMA_LINEAR)
6 {
7         register_int("source_curve", (int *)&source_curve);
8 }
9
10 std::string GammaExpansionEffect::output_glsl()
11 {
12         return read_file("todo.glsl");
13 }