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/intern/gpu_framebuffer_private.hh
parentc0fb8ea8f3cd01cfb01effa687a8d553c540aec3 (diff)
Cleanup: Clang-tidy: modernize-redundant-void-arg
Diffstat (limited to 'source/blender/gpu/intern/gpu_framebuffer_private.hh')
-rw-r--r--source/blender/gpu/intern/gpu_framebuffer_private.hh8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/gpu/intern/gpu_framebuffer_private.hh b/source/blender/gpu/intern/gpu_framebuffer_private.hh
index 2b00c239af4..a936e889e57 100644
--- a/source/blender/gpu/intern/gpu_framebuffer_private.hh
+++ b/source/blender/gpu/intern/gpu_framebuffer_private.hh
@@ -188,24 +188,24 @@ class FrameBuffer {
copy_v4_v4_int(r_scissor, scissor_);
}
- inline bool scissor_test_get(void) const
+ inline bool scissor_test_get() const
{
return scissor_test_;
}
- inline void viewport_reset(void)
+ inline void viewport_reset()
{
int viewport_rect[4] = {0, 0, width_, height_};
viewport_set(viewport_rect);
}
- inline void scissor_reset(void)
+ inline void scissor_reset()
{
int scissor_rect[4] = {0, 0, width_, height_};
scissor_set(scissor_rect);
}
- inline GPUTexture *depth_tex(void) const
+ inline GPUTexture *depth_tex() const
{
if (attachments_[GPU_FB_DEPTH_ATTACHMENT].tex) {
return attachments_[GPU_FB_DEPTH_ATTACHMENT].tex;