diff options
Diffstat (limited to 'src/platform/opengl/opengl_index_buffer.cpp')
| -rw-r--r-- | src/platform/opengl/opengl_index_buffer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/platform/opengl/opengl_index_buffer.cpp b/src/platform/opengl/opengl_index_buffer.cpp index d8ecb1d..60b710d 100644 --- a/src/platform/opengl/opengl_index_buffer.cpp +++ b/src/platform/opengl/opengl_index_buffer.cpp @@ -16,12 +16,12 @@ namespace Donut glDeleteBuffers(1, &m_renderer_id); } - void OpenGLIndexBuffer::bind() const + auto OpenGLIndexBuffer::bind() const -> void { glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, m_renderer_id); } - void OpenGLIndexBuffer::unbind() const + auto OpenGLIndexBuffer::unbind() const -> void { glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, 0); } |
