X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=gamma_expansion_effect.cpp;h=fdf34f58fe115b1c7bcd0cd9a95836606e843ba5;hp=1ecc897c00d73172e8205c48cb04a43a858eaea0;hb=8bbe79ea2da2bc02c59aaf0d697cff24ddcba73a;hpb=430394b9790b9a7083aac549f607047499788710 diff --git a/gamma_expansion_effect.cpp b/gamma_expansion_effect.cpp index 1ecc897..fdf34f5 100644 --- a/gamma_expansion_effect.cpp +++ b/gamma_expansion_effect.cpp @@ -12,11 +12,12 @@ GammaExpansionEffect::GammaExpansionEffect() std::string GammaExpansionEffect::output_glsl() { switch (source_curve) { + case GAMMA_LINEAR: + return read_file("identity.glsl"); case GAMMA_sRGB: return read_file("gamma_expansion_effect_srgb.glsl"); case GAMMA_REC_709: // and GAMMA_REC_601 - // Not implemented yet. - assert(false); + return read_file("gamma_expansion_effect_rec709.glsl"); default: assert(false); }