]> git.sesse.net Git - movit/blobdiff - sandbox_effect.h
Add a distclean target.
[movit] / sandbox_effect.h
index 391be6d78520121193fb81537e615aea7be6e7a7..072bc2b1096a95e592de293c396bdb2ce647afd7 100644 (file)
@@ -8,14 +8,18 @@
 // 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 <GL/glew.h>
+#include <string>
+
 #include "effect.h"
 
 class SandboxEffect : public Effect {
 public:
        SandboxEffect();
+       virtual std::string effect_type_id() const { return "SandboxEffect"; }
        std::string output_fragment_shader();
 
-       void set_uniforms(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);
 
 private:
        float parm;