Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Carlisle <carlisle.b3d@gmail.com>2022-01-06 05:44:03 +0300
committerAaron Carlisle <carlisle.b3d@gmail.com>2022-01-06 05:44:22 +0300
commit4067367b6c64f09be70c771180cb47eca4e341eb (patch)
tree791bf22101c4dd09e7a901cb8adf793cfaff458a /source/blender/gpu/opengl/gl_backend.hh
parentc0fb8ea8f3cd01cfb01effa687a8d553c540aec3 (diff)
Cleanup: Clang-tidy: modernize-redundant-void-arg
Diffstat (limited to 'source/blender/gpu/opengl/gl_backend.hh')
-rw-r--r--source/blender/gpu/opengl/gl_backend.hh20
1 files changed, 10 insertions, 10 deletions
diff --git a/source/blender/gpu/opengl/gl_backend.hh b/source/blender/gpu/opengl/gl_backend.hh
index e9dcdffced0..abac9174d4a 100644
--- a/source/blender/gpu/opengl/gl_backend.hh
+++ b/source/blender/gpu/opengl/gl_backend.hh
@@ -62,12 +62,12 @@ class GLBackend : public GPUBackend {
GLBackend::platform_exit();
}
- static GLBackend *get(void)
+ static GLBackend *get()
{
return static_cast<GLBackend *>(GPUBackend::get());
}
- void samplers_update(void) override
+ void samplers_update() override
{
GLTexture::samplers_update();
};
@@ -77,7 +77,7 @@ class GLBackend : public GPUBackend {
return new GLContext(ghost_window, shared_orphan_list_);
};
- Batch *batch_alloc(void) override
+ Batch *batch_alloc() override
{
return new GLBatch();
};
@@ -92,12 +92,12 @@ class GLBackend : public GPUBackend {
return new GLFrameBuffer(name);
};
- IndexBuf *indexbuf_alloc(void) override
+ IndexBuf *indexbuf_alloc() override
{
return new GLIndexBuf();
};
- QueryPool *querypool_alloc(void) override
+ QueryPool *querypool_alloc() override
{
return new GLQueryPool();
};
@@ -117,12 +117,12 @@ class GLBackend : public GPUBackend {
return new GLUniformBuf(size, name);
};
- VertBuf *vertbuf_alloc(void) override
+ VertBuf *vertbuf_alloc() override
{
return new GLVertBuf();
};
- GLSharedOrphanLists &shared_orphan_list_get(void)
+ GLSharedOrphanLists &shared_orphan_list_get()
{
return shared_orphan_list_;
};
@@ -134,10 +134,10 @@ class GLBackend : public GPUBackend {
}
private:
- static void platform_init(void);
- static void platform_exit(void);
+ static void platform_init();
+ static void platform_exit();
- static void capabilities_init(void);
+ static void capabilities_init();
};
} // namespace gpu