diff options
| author | hachem <im@hachem.wtf> | 2026-08-20 02:19:29 +0200 |
|---|---|---|
| committer | hachem <im@hachem.wtf> | 2026-08-20 02:32:34 +0200 |
| commit | 31f6a54d35dd13f0911f132dc60f5f0d851d7e43 (patch) | |
| tree | 75b5410d785a5acc9e435d4147f3de4989278172 /src/platform/opengl/opengl_index_buffer.h | |
| parent | 0f9483ce025b015b1197b7a7efc8ed983bedbb8e (diff) | |
refactor: trailing return types in the OpenGL and Metal backends
Diffstat (limited to 'src/platform/opengl/opengl_index_buffer.h')
| -rw-r--r-- | src/platform/opengl/opengl_index_buffer.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/platform/opengl/opengl_index_buffer.h b/src/platform/opengl/opengl_index_buffer.h index 43a9d86..397da43 100644 --- a/src/platform/opengl/opengl_index_buffer.h +++ b/src/platform/opengl/opengl_index_buffer.h @@ -11,9 +11,9 @@ namespace Donut OpenGLIndexBuffer(const uint32_t* indices, uint32_t count); virtual ~OpenGLIndexBuffer(); - virtual void bind() const override; - virtual void unbind() const override; - virtual uint32_t get_count() const override { return m_count; } + virtual auto bind() const -> void override; + virtual auto unbind() const -> void override; + virtual auto get_count() const -> uint32_t override{ return m_count; } private: uint32_t m_renderer_id; |
