add Program.get_uniform_location()
This commit is contained in:
1 parent
5d1351fc66
commit
3d531ace23
4 files changed
+10
-13
No files matched your search
@@ -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();
|
||||
|
||||
|
||||
Reference in new issue
Block a user