Set pixel_data[] to NULL in YCbCrInput as well.
[movit] / mirror_effect.cpp
index f772821..7c9875a 100644 (file)
@@ -5,12 +5,7 @@ MirrorEffect::MirrorEffect()
 {
 }
 
-std::string MirrorEffect::output_vertex_shader()
-{
-       return read_file("mirror_effect.vert");
-}
-
 std::string MirrorEffect::output_fragment_shader()
 {
-       return read_file("identity.frag");
+       return read_file("mirror_effect.frag");
 }