Hard-assert on something that has bitten me too many times now.
[movit] / saturation_effect.cpp
index d6d30e5..a3f91a0 100644 (file)
@@ -1,15 +1,19 @@
-#define GL_GLEXT_PROTOTYPES 1
-
 #include "saturation_effect.h"
 #include "util.h"
 
+using namespace std;
+
+namespace movit {
+
 SaturationEffect::SaturationEffect()
        : saturation(1.0f)
 {
        register_float("saturation", &saturation);
 }
 
-std::string SaturationEffect::output_fragment_shader()
+string SaturationEffect::output_fragment_shader()
 {
-       return read_file("saturation_effect.glsl");
+       return read_file("saturation_effect.frag");
 }
+
+}  // namespace movit