]> git.sesse.net Git - movit/blobdiff - sandbox_effect.cpp
Move to 'using namespace std;' in all .cpp files.
[movit] / sandbox_effect.cpp
index 6aafb74d2b5f543cfcd98f4cd0311e0b39ebfb00..840611eb51f958efb269e4ad29096c5625fa8cbb 100644 (file)
@@ -3,18 +3,20 @@
 #include "sandbox_effect.h"
 #include "util.h"
 
+using namespace std;
+
 SandboxEffect::SandboxEffect()
        : parm(0.0f)
 {
        register_float("parm", &parm);
 }
 
-std::string SandboxEffect::output_fragment_shader()
+string SandboxEffect::output_fragment_shader()
 {
        return read_file("sandbox_effect.frag");
 }
 
-void SandboxEffect::set_gl_state(GLuint glsl_program_num, const std::string &prefix, unsigned *sampler_num)
+void SandboxEffect::set_gl_state(GLuint glsl_program_num, const string &prefix, unsigned *sampler_num)
 {
        Effect::set_gl_state(glsl_program_num, prefix, sampler_num);