X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=effect_util.cpp;h=35a94a7c3e999b0ebc2795f92b40e0d10d0009cb;hp=f49b47707bde4920fbace424fca80113c979de59;hb=d398770154ecc4bc95282dc45656789dd5686309;hpb=85f9719bf3519b1f1942738d11601584f5d38725 diff --git a/effect_util.cpp b/effect_util.cpp index f49b477..35a94a7 100644 --- a/effect_util.cpp +++ b/effect_util.cpp @@ -6,6 +6,8 @@ using namespace std; +namespace movit { + GLint get_uniform_location(GLuint glsl_program_num, const string &prefix, const string &key) { string name = prefix + "_" + key; @@ -97,3 +99,5 @@ void set_uniform_mat3(GLuint glsl_program_num, const string &prefix, const strin glUniformMatrix3fv(location, 1, GL_FALSE, matrixf); check_error(); } + +} // namespace movit