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_texture.hh
parentc0fb8ea8f3cd01cfb01effa687a8d553c540aec3 (diff)
Cleanup: Clang-tidy: modernize-redundant-void-arg
Diffstat (limited to 'source/blender/gpu/opengl/gl_texture.hh')
-rw-r--r--source/blender/gpu/opengl/gl_texture.hh16
1 files changed, 8 insertions, 8 deletions
diff --git a/source/blender/gpu/opengl/gl_texture.hh b/source/blender/gpu/opengl/gl_texture.hh
index eb979444f5a..e786eaed38a 100644
--- a/source/blender/gpu/opengl/gl_texture.hh
+++ b/source/blender/gpu/opengl/gl_texture.hh
@@ -69,25 +69,25 @@ class GLTexture : public Texture {
* \warning Depth textures are not populated but they have their mips correctly defined.
* \warning This resets the mipmap range.
*/
- void generate_mipmap(void) override;
+ void generate_mipmap() override;
void copy_to(Texture *dst) override;
void clear(eGPUDataFormat format, const void *data) override;
void swizzle_set(const char swizzle_mask[4]) override;
void mip_range_set(int min, int max) override;
void *read(int mip, eGPUDataFormat type) override;
- void check_feedback_loop(void);
+ void check_feedback_loop();
/* TODO(fclem): Legacy. Should be removed at some point. */
- uint gl_bindcode_get(void) const override;
+ uint gl_bindcode_get() const override;
- static void samplers_init(void);
- static void samplers_free(void);
- static void samplers_update(void);
+ static void samplers_init();
+ static void samplers_free();
+ static void samplers_update();
protected:
/** Return true on success. */
- bool init_internal(void) override;
+ bool init_internal() override;
/** Return true on success. */
bool init_internal(GPUVertBuf *vbo) override;
@@ -97,7 +97,7 @@ class GLTexture : public Texture {
void ensure_mipmaps(int mip);
void update_sub_direct_state_access(
int mip, int offset[3], int extent[3], GLenum gl_format, GLenum gl_type, const void *data);
- GPUFrameBuffer *framebuffer_get(void);
+ GPUFrameBuffer *framebuffer_get();
MEM_CXX_CLASS_ALLOC_FUNCS("GLTexture")
};