mirror of
https://github.com/love2d/love.git
synced 2026-08-15 15:51:12 +02:00
love.graphics internal Buffer objects are no longer OpenGL-specific.
--HG-- branch : minor
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user