X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=sandbox_effect.h;h=530511a3fb2ccb5fb5f64685b36b7f34089232b1;hp=f06b2ef3758d17cb95f014f0d7a1e0508a1218df;hb=39474abd238b7c3b27ed08cfbf695caa0cca91dd;hpb=cfc161e0289c2169d4835c48751ff56b97355eb2 diff --git a/sandbox_effect.h b/sandbox_effect.h index f06b2ef..530511a 100644 --- a/sandbox_effect.h +++ b/sandbox_effect.h @@ -8,7 +8,7 @@ // throwaway code. When you're happy, you can do a bit of search and replace // to give it a proper name and its own place in the build system. -#include +#include #include #include "effect.h" @@ -18,10 +18,10 @@ namespace movit { class SandboxEffect : public Effect { public: SandboxEffect(); - virtual std::string effect_type_id() const { return "SandboxEffect"; } - std::string output_fragment_shader(); + std::string effect_type_id() const override { return "SandboxEffect"; } + std::string output_fragment_shader() override; - void set_gl_state(GLuint glsl_program_num, const std::string &prefix, unsigned *sampler_num); + void set_gl_state(GLuint glsl_program_num, const std::string &prefix, unsigned *sampler_num) override; private: float parm;