love.graphics internal Buffer objects are no longer OpenGL-specific.

--HG--
branch : minor
This commit is contained in:
Alex Szpakowski
2017-01-28 19:26:57 -04:00
parent 470098b7e6
commit d990044288
27 changed files with 594 additions and 532 deletions
+5
View File
@@ -726,6 +726,11 @@ bool Shader::hasUniform(const std::string &name) const
return uniforms.find(name) != uniforms.end();
}
ptrdiff_t Shader::getHandle() const
{
return program;
}
GLint Shader::getAttribLocation(const std::string &name)
{
auto it = attributes.find(name);