diff options
author | Aaron Carlisle <carlisle.b3d@gmail.com> | 2022-01-06 05:44:03 +0300 |
---|---|---|
committer | Aaron Carlisle <carlisle.b3d@gmail.com> | 2022-01-06 05:44:22 +0300 |
commit | 4067367b6c64f09be70c771180cb47eca4e341eb (patch) | |
tree | 791bf22101c4dd09e7a901cb8adf793cfaff458a /source/blender/gpu/opengl/gl_index_buffer.hh | |
parent | c0fb8ea8f3cd01cfb01effa687a8d553c540aec3 (diff) |
Cleanup: Clang-tidy: modernize-redundant-void-arg
Diffstat (limited to 'source/blender/gpu/opengl/gl_index_buffer.hh')
-rw-r--r-- | source/blender/gpu/opengl/gl_index_buffer.hh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/gpu/opengl/gl_index_buffer.hh b/source/blender/gpu/opengl/gl_index_buffer.hh index 85d52447bc6..aaec10d43b3 100644 --- a/source/blender/gpu/opengl/gl_index_buffer.hh +++ b/source/blender/gpu/opengl/gl_index_buffer.hh @@ -42,7 +42,7 @@ class GLIndexBuf : public IndexBuf { public: ~GLIndexBuf(); - void bind(void); + void bind(); void bind_as_ssbo(uint binding) override; const uint32_t *read() const override; @@ -56,12 +56,12 @@ class GLIndexBuf : public IndexBuf { return (GLushort *)0 + additional_vertex_offset; } - GLuint restart_index(void) const + GLuint restart_index() const { return (index_type_ == GPU_INDEX_U16) ? 0xFFFFu : 0xFFFFFFFFu; } - void upload_data(void) override; + void upload_data() override; void update_sub(uint start, uint len, const void *data) override; |