add Program.get_uniform_location()

This commit is contained in:
josh committed 2015-06-11 20:16:39 -04:00
1 parent 5d1351fc66
commit 3d531ace23
4 files changed
+10 -13

No files matched your search

+5
View File
@@ -54,6 +54,11 @@ namespace glcxx
bind_attributes(args...);
}
GLint get_uniform_location(const char * uniform_name)
{
return glGetUniformLocation(m_id, uniform_name);
}
protected:
void allocate();