Change buffer creation to variant from lower API version

This commit is contained in:
Riyyi
2021-01-02 23:10:17 +01:00
parent 1a9a618ab1
commit 02d265ac0c
+1 -1
View File
@@ -117,7 +117,7 @@ namespace Inferno {
VertexBuffer::VertexBuffer(float* vertices, size_t size)
{
glCreateBuffers(1, &m_id);
glGenBuffers(1, &m_id);
this->bind();
// Upload data to the GPU