Support binding gfx::buffer via glBindBufferBase

This commit is contained in:
Nikita Lisitsa 2022-06-22 18:01:35 +03:00
parent 09ecce5e6d
commit a9cb71629e

View file

@ -57,6 +57,11 @@ namespace psemek::gfx
gl::BindBuffer(Target, id_);
}
void bind(GLuint index) const
{
gl::BindBufferBase(Target, index, id_);
}
void reset()
{
if (id_)