]> git.sesse.net Git - movit/blobdiff - effect.h
Support SDL2.
[movit] / effect.h
index a7d426c723981bc11e10006fa9d44d6b3f5d8db5..16b6cbb92149f7de70cf24d92d01a1182c8c343a 100644 (file)
--- a/effect.h
+++ b/effect.h
@@ -10,7 +10,7 @@
 // effect instance; use the macro PREFIX() around your identifiers to
 // automatically prepend that prefix.
 
-#include <GL/glew.h>
+#include <epoxy/gl.h>
 #include <assert.h>
 #include <stddef.h>
 #include <map>
@@ -18,6 +18,8 @@
 
 #include "defs.h"
 
+namespace movit {
+
 class EffectChain;
 class Node;
 
@@ -271,4 +273,6 @@ private:
        std::map<std::string, float *> params_vec4;
 };
 
+}  // namespace movit
+
 #endif // !defined(_MOVIT_EFFECT_H)