diff options
Diffstat (limited to 'src/platform/opengl/opengl_vertex_array.cpp')
| -rw-r--r-- | src/platform/opengl/opengl_vertex_array.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/platform/opengl/opengl_vertex_array.cpp b/src/platform/opengl/opengl_vertex_array.cpp index e2fb766..f3347f4 100644 --- a/src/platform/opengl/opengl_vertex_array.cpp +++ b/src/platform/opengl/opengl_vertex_array.cpp @@ -6,9 +6,9 @@ namespace Donut { - OpenGLVertexArray::OpenGLVertexArray() + OpenGLVertexArray::OpenGLVertexArray() { - glCreateVertexArrays(1, &m_renderer_id); + glGenVertexArrays(1, &m_renderer_id); } OpenGLVertexArray::~OpenGLVertexArray() |
