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:
authorCampbell Barton <campbell@blender.org>2022-01-07 03:38:08 +0300
committerCampbell Barton <campbell@blender.org>2022-01-07 06:16:26 +0300
commit3d3bc748849834ef74563deb603ab43859cffeeb (patch)
treede74ce4722b2cb032c22dbc090a15dd2e172c29b /source/blender/render/RE_texture.h
parentbb69c19f08ac681d4386325e4318ebfbef2e9531 (diff)
Cleanup: remove redundant const qualifiers for POD types
MSVC used to warn about const mismatch for arguments passed by value. Remove these as newer versions of MSVC no longer show this warning.
Diffstat (limited to 'source/blender/render/RE_texture.h')
-rw-r--r--source/blender/render/RE_texture.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/source/blender/render/RE_texture.h b/source/blender/render/RE_texture.h
index cb18dc92415..d71c793f300 100644
--- a/source/blender/render/RE_texture.h
+++ b/source/blender/render/RE_texture.h
@@ -45,10 +45,10 @@ extern "C" {
*/
bool RE_texture_evaluate(const struct MTex *mtex,
const float vec[3],
- const int thread,
+ int thread,
struct ImagePool *pool,
- const bool skip_load_image,
- const bool texnode_preview,
+ bool skip_load_image,
+ bool texnode_preview,
/* Return arguments. */
float *r_intensity,
float r_rgba[4]) ATTR_NONNULL(1, 2, 7, 8);
@@ -88,7 +88,7 @@ void RE_point_density_minmax(struct Depsgraph *depsgraph,
*/
void RE_point_density_sample(struct Depsgraph *depsgraph,
struct PointDensity *pd,
- const int resolution,
+ int resolution,
float *values);
void RE_point_density_free(struct PointDensity *pd);
@@ -122,10 +122,10 @@ int multitex_ext(struct Tex *tex,
float dyt[3],
int osatex,
struct TexResult *texres,
- const short thread,
+ short thread,
struct ImagePool *pool,
bool scene_color_manage,
- const bool skip_load_image);
+ bool skip_load_image);
/**
* Nodes disabled.
@@ -138,7 +138,7 @@ int multitex_ext_safe(struct Tex *tex,
struct TexResult *texres,
struct ImagePool *pool,
bool scene_color_manage,
- const bool skip_load_image);
+ bool skip_load_image);
/**
* Only for internal node usage.
@@ -152,7 +152,7 @@ int multitex_nodes(struct Tex *tex,
float dyt[3],
int osatex,
struct TexResult *texres,
- const short thread,
+ short thread,
short which_output,
struct MTex *mtex,
struct ImagePool *pool);