diff --git a/inferno/src/inferno/render/buffer.cpp b/inferno/src/inferno/render/buffer.cpp index d2ff033..5884e7d 100644 --- a/inferno/src/inferno/render/buffer.cpp +++ b/inferno/src/inferno/render/buffer.cpp @@ -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