X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=effect_util.cpp;h=35a94a7c3e999b0ebc2795f92b40e0d10d0009cb;hb=cfc161e0289c2169d4835c48751ff56b97355eb2;hp=f49b47707bde4920fbace424fca80113c979de59;hpb=0fa51e08f83e0283337216f5b951b3d5a8c0555b;p=movit 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